forked from fediversity/fediversity
run ssh commands thru the shell (which has openssh)
This commit is contained in:
parent
b9b13df04e
commit
883bf175af
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ jobs:
|
|||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.CD_SSH_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
nix-shell --run 'eval "$(ssh-agent -s)"'
|
||||
nix-shell --run 'ssh-add ~/.ssh/id_ed25519'
|
||||
|
||||
- name: Deploy
|
||||
run: nix-shell --run 'nixops4 apply default'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue