This commit is contained in:
parent
93bbaa2b91
commit
c8b701e89d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ steps:
|
|||
image: debian:12
|
||||
commands:
|
||||
- apt update -y && apt install -y rsync openssh-client
|
||||
- ssh-agent bash -c "ssh-add <(echo '$MY_SSH_KEY') && rsync --archive --verbose --compress --hard-links --delete-during --partial --progress ./.output/ root@gorb.app:/var/www/gorb.app && ssh root@gorb.app systemctl restart gorb.app.service"
|
||||
- ssh-agent bash -c "ssh-add <(echo '$MY_SSH_KEY' | base64 -d) && rsync --archive --verbose --compress --hard-links --delete-during --partial --progress ./.output/ root@gorb.app:/var/www/gorb.app && ssh root@gorb.app systemctl restart gorb.app.service"
|
||||
environment:
|
||||
KEY:
|
||||
from_secret: ssh_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue