use ssh-agent gh action
This commit is contained in:
parent
6c76b3ee1f
commit
c8dbdcbe62
@ -39,12 +39,17 @@ jobs:
|
|||||||
|
|
||||||
- run: curl -I s0.koi-bebop.ts.net
|
- run: curl -I s0.koi-bebop.ts.net
|
||||||
|
|
||||||
|
# - name: Setup SSH Key
|
||||||
|
# run: |
|
||||||
|
# echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" > id_ed25519
|
||||||
|
# chmod 600 id_ed25519
|
||||||
|
# ssh-agent -c -a $SSH_AUTH_SOCK
|
||||||
|
# ssh-add id_ed25519
|
||||||
|
|
||||||
- name: Setup SSH Key
|
- name: Setup SSH Key
|
||||||
run: |
|
uses: https://github.com/webfactory/ssh-agent@v0.8.0
|
||||||
echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" > id_ed25519
|
with:
|
||||||
chmod 600 id_ed25519
|
ssh-private-key: ${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}
|
||||||
ssh-agent -c -a $SSH_AUTH_SOCK
|
|
||||||
ssh-add id_ed25519
|
|
||||||
|
|
||||||
- name: Copy all built derivations to remote cache
|
- name: Copy all built derivations to remote cache
|
||||||
run: nix copy --to ssh://cache-push@s0.koi-bebop.ts.net /nix/store/*
|
run: nix copy --to ssh://cache-push@s0.koi-bebop.ts.net /nix/store/*
|
Loading…
x
Reference in New Issue
Block a user