diff --git a/.woodpecker/publish-docs.yml b/.woodpecker/publish-docs.yml index 562b9dc..34491a6 100644 --- a/.woodpecker/publish-docs.yml +++ b/.woodpecker/publish-docs.yml @@ -14,9 +14,9 @@ pipeline: # - apt update -y && apt install openssh-client rsync -y - echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts - echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password - - chmod 700 ~/.ssh/.print_ssh_password - tr -d '\r' < ~/.ssh/.print_ssh_password > out.sh - mv out.sh ~/.ssh/.print_ssh_password + - chmod 700 ~/.ssh/.print_ssh_password - 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/ backy@backy.cybershell.xyz:docs