From 066739f538ed3651c47239559e42c50eb6b660d1 Mon Sep 17 00:00:00 2001 From: Ciapa Date: Fri, 12 Apr 2024 17:05:34 +0200 Subject: [PATCH] Try fixing SSH access --- .woodpecker/deploy.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index 82a15be..d828565 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -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: