CI config update to latest secret injection
Some checks failed
ci/woodpecker/push/deploy Pipeline failed
Some checks failed
ci/woodpecker/push/deploy Pipeline failed
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user