We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aea786a + 0f51f23 commit 7655246Copy full SHA for 7655246
.github/workflows/deploy.yml
@@ -24,7 +24,7 @@ jobs:
24
- name: Rsync upload to incoming
25
uses: burnett01/rsync-deployments@7.0.1
26
with:
27
- switches: -avzr --delete
+ switches: -avzr --delete --exclude='.git/' --exclude='.github/' --exclude='.incoming/'
28
path: ./
29
remote_path: ${{ secrets.DEPLOY_PATH }}/.incoming/
30
remote_host: ${{ secrets.DEPLOY_HOST }}
@@ -43,6 +43,6 @@ jobs:
43
set -e
44
TARGET="${{ secrets.DEPLOY_PATH }}"
45
46
- rsync -a --delete "$TARGET/.incoming/" "$TARGET/"
+ rsync -a --delete --exclude='.incoming/' "$TARGET/.incoming/" "$TARGET/"
47
48
rm -rf "$TARGET/.incoming"
0 commit comments