ci: make ssh directory in home folder
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Radical 2025-05-05 02:28:58 +02:00
parent 300849712b
commit 257decff6e

View file

@ -9,7 +9,8 @@ steps:
- name: publish - name: publish
image: debian:12 image: debian:12
commands: commands:
- apt update -y && apt install -y rsync openssh-client - apt update -y && apt install -y rsync openssh-client
- mkdir -p ~/.ssh
- echo "$KEY" > ~/.ssh/id_ed25519 - echo "$KEY" > ~/.ssh/id_ed25519
- rsync --archive --verbose --compress --hard-links --delete-during --partial --progress ./.output/ root@gorb.app:/var/www/gorb.app - 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 root@gorb.app systemctl restart gorb.app.service