Skip to content

Commit 2c4e1d7

Browse files
committed
chore: add deploy_key for gk repo
1 parent fe1d07a commit 2c4e1d7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/nix-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
sudo -E python -c "import os; file = open('/etc/nix/nix-secret-key', 'w'); file.write(os.environ['NIX_SIGN_SECRET_KEY']); file.close()"
5757
env:
5858
NIX_SIGN_SECRET_KEY: ${{ secrets.NIX_SIGN_SECRET_KEY }}
59+
- name: Setup SSH for deploy key
60+
run: |
61+
mkdir -p ~/.ssh
62+
echo "${{ secrets.GK_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
63+
chmod 600 ~/.ssh/id_ed25519
64+
ssh-keyscan github.com >> ~/.ssh/known_hosts
5965
- name: Setup cache script
6066
if: ${{ github.secret_source == 'Actions' }}
6167
run: |

nix/overlays/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
linux-pam = prev.linux-pam.overrideAttrs (old: {
6767
postInstall = (old.postInstall or "") + ''
6868
mkdir -p $out/lib/security
69-
cp ${final.gatekeeper}/lib/security/pam_jwt_pg.so $out/lib/security/
69+
cp ${final.gatekeeper}/lib/security/*.so $out/lib/security/
7070
'';
7171
});
7272
};

0 commit comments

Comments
 (0)