Try fixing SSH access
ci/woodpecker/push/deploy Pipeline failed Details
ci/woodpecker/manual/deploy Pipeline failed Details

This commit is contained in:
Ciapa 2024-04-12 17:05:34 +02:00
parent 1acf5e2d70
commit 066739f538
1 changed files with 1 additions and 4 deletions

View File

@ -29,10 +29,7 @@ steps:
- name: Deploy
image: bash
commands:
- ssh-agent -s
- eval "$(ssh-agent -s)"
- ssh-add - <<< $${SSH_PRIVATE_KEY}
- nix develop --command deploy
- ssh-agent bash -c "ssh-add - <<< $${SSH_PRIVATE_KEY} && nix develop --command deploy --rollback-succeeded false"
environment:
*nix-config
when: