From b60a1acd57d09d0993287c607516ecfa7341bee4 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 13 Sep 2023 21:18:22 +0200 Subject: [PATCH] [wip] deploy task --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 62f036c..69bb61b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -102,7 +102,7 @@ pipeline: secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory] commands: - apt-get update && apt-get -y install rsync openssh-client - - cd "/data/deblan/deblan.io-murph/$CI_WORKSPACE" + - cd "/data/deblan/deblan.io-murph/$CI_COMMIT_SHA" - mkdir "$HOME/.ssh" - echo "$SSH_PRIV_KEY" > "$HOME/.ssh/id_ed25519" - chmod 700 "$HOME/.ssh"