Update .gitea/workflows/action.yml
All checks were successful
pipeline / deploy-job (push) Successful in 30s

This commit is contained in:
fzorb 2024-10-11 12:36:51 +03:00
parent 07df26ba43
commit 0c8f5d1c51

View File

@ -36,10 +36,6 @@ jobs:
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts
- name: delete new files so we don't screw up stuff
run: |
ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "rm -rf /srv/swag/config/www/fzorb.xyz/*"
- name: upload new files
run: |
rsync -avzh website/public/ -e "ssh -i ~/.ssh/id_rsa -p 69" gitlab@107.189.28.28:/srv/swag/config/www/fzorb.xyz