exclude .ssh directory from being deleted
Some checks failed
Install and run tests / test (3.10) (push) Failing after 6s
Install and run tests / test (3.11) (push) Failing after 6s
Install and run tests / test (3.12) (push) Failing after 6s
Install and run tests / test (3.13) (push) Failing after 6s
Install and run tests / test (3.8) (push) Failing after 5s
Install and run tests / test (3.9) (push) Failing after 5s
Build documentation / build (push) Successful in 5m41s
Build documentation / deploy (push) Successful in 2m12s

This commit is contained in:
boyska 2025-03-02 13:03:46 +01:00
parent 9bb4dda5de
commit 3f5823403c

View file

@ -42,4 +42,4 @@ jobs:
echo "$SSH_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: deploy website
run: rsync --delete -avz -e "ssh -o StrictHostKeyChecking=no -p ${{vars.DOCS_PORT}} -i ~/.ssh/id_ed25519" doc/ ${{secrets.DOCS_USERNAME}}@"${{vars.DOCS_SERVER}}":${{vars.DOCS_PATH}}
run: rsync --delete --exclude="/.ssh/authorized_keys" --exclude="/.ssh/" -avz -e "ssh -o StrictHostKeyChecking=no -p ${{vars.DOCS_PORT}} -i ~/.ssh/id_ed25519" doc/ ${{secrets.DOCS_USERNAME}}@"${{vars.DOCS_SERVER}}":${{vars.DOCS_PATH}}