diff --git a/.woodpecker.yml b/.woodpecker.yml index e0ed3e6..2436c3f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -123,12 +123,12 @@ pipeline: image: albedo.lan:5000/upend-deploy:latest pull: true commands: - - echo -e "$GPG_SIGN_KEY" | gpg --import + - echo -e $GPG_SIGN_KEY | gpg --import - gpg --clear-sign "*.AppImage" - mkdir -p $HOME/.ssh - - echo -e "$SSH_CONFIG" > $HOME/.ssh/config - - echo -e "$SSH_UPLOAD_KEY" > $HOME/.ssh/id_rsa - - echo -e "$SSH_KNOWN_HOSTS" > $HOME/.ssh/known_hosts + - echo -e $SSH_CONFIG > $HOME/.ssh/config + - echo -e $SSH_UPLOAD_KEY > $HOME/.ssh/id_rsa + - echo -e $SSH_KNOWN_HOSTS > $HOME/.ssh/known_hosts - chmod 600 $HOME/.ssh/* - scp "*.AppImage" "*.asc" mainsite:releases secrets: [gpg_sign_key, ssh_config, ssh_upload_key, ssh_known_hosts]