Skip to content

Commit 07162ca

Browse files
committed
chore: add deploy_key for gk repo
1 parent 3e6a537 commit 07162ca

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
@@ -52,6 +52,12 @@ jobs:
5252
sudo -E python -c "import os; file = open('/etc/nix/nix-secret-key', 'w'); file.write(os.environ['NIX_SIGN_SECRET_KEY']); file.close()"
5353
env:
5454
NIX_SIGN_SECRET_KEY: ${{ secrets.NIX_SIGN_SECRET_KEY }}
55+
- name: Setup SSH for deploy key
56+
run: |
57+
mkdir -p ~/.ssh
58+
echo "${{ secrets.GK_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
59+
chmod 600 ~/.ssh/id_ed25519
60+
ssh-keyscan github.com >> ~/.ssh/known_hosts
5561
- name: Setup cache script
5662
if: ${{ github.secret_source == 'Actions' }}
5763
run: |

nix/overlays/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
linux-pam = prev.linux-pam.overrideAttrs (old: {
5858
postInstall = (old.postInstall or "") + ''
5959
mkdir -p $out/lib/security
60-
cp ${final.gatekeeper}/lib/security/pam_jwt_pg.so $out/lib/security/
60+
cp ${final.gatekeeper}/lib/security/*.so $out/lib/security/
6161
'';
6262
});
6363
};

0 commit comments

Comments
 (0)