start ssh-agent
This commit is contained in:
parent
79c3bca6f5
commit
6c76b3ee1f
@ -4,6 +4,7 @@ on: [push]
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Example:
|
Example:
|
||||||
@ -42,9 +43,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" > id_ed25519
|
echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" > id_ed25519
|
||||||
chmod 600 id_ed25519
|
chmod 600 id_ed25519
|
||||||
|
ssh-agent -c -a $SSH_AUTH_SOCK
|
||||||
ssh-add id_ed25519
|
ssh-add id_ed25519
|
||||||
env:
|
|
||||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
|
||||||
|
|
||||||
- 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