ci: remove leftover ssh command
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
eac11f06da
commit
3b95c16280
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt update -y && apt install -y rsync openssh-client
|
- apt update -y && apt install -y rsync openssh-client
|
||||||
- printf "Host *\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config
|
- printf "Host *\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config
|
||||||
- ssh-agent bash -c "ssh-add <(echo '$KEY' | base64 -d) && rsync --archive --verbose --compress --hard-links --delete-during --partial --progress ./.output/public/ root@gorb.app:/var/www/gorb.app && ssh root@gorb.app systemctl restart gorb.app.service"
|
- ssh-agent bash -c "ssh-add <(echo '$KEY' | base64 -d) && rsync --archive --verbose --compress --hard-links --delete-during --partial --progress ./.output/public/ root@gorb.app:/var/www/gorb.app"
|
||||||
environment:
|
environment:
|
||||||
KEY:
|
KEY:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue