diff --git a/.woodpecker.yml b/.woodpecker.yml index 2e2f8a0..035a845 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,7 @@ pipeline: image: machines/ssh commands: - mkdir -p ~/.ssh - - echo "$privkey" > ~/.ssh/id_ed25519 + - echo "$PRIVKEY" > ~/.ssh/id_ed25519 - chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_ed25519 - ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_ed25519 "cd /websiteupdate/wiki && git reset --hard origin/master && git config pull.rebase true && git pull && nix-shell -p gnumake -p pandoc --run make" secrets: [ privkey ]