diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 8d0e5e9..9eb6b04 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -18,7 +18,13 @@ steps: - eval $(ssh-agent -s) - echo "$SSH_DEPLOY_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add - - rsync -atv --delete --progress public/ cybershell@blog.cybershell.xyz:/home/cybershell/blog.cybershell.xyz - secrets: [ ssh_host_key, ssh_deploy_key, ssh_passphrase ] + environment: + SSH_HOST_KEY: + from_secret: ssh_host_key + SSH_DEPLOY_KEY: + from_secret: ssh_deploy_key + SSH_PASSPHRASE: + from_secret: ssh_passphrase when: