Skip to content

Commit 7655246

Browse files
authored
Merge pull request #2 from SentioProberDev/cynthia-update_new_deploy_for_auto_update
Update the new deploy.yml
2 parents aea786a + 0f51f23 commit 7655246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Rsync upload to incoming
2525
uses: burnett01/rsync-deployments@7.0.1
2626
with:
27-
switches: -avzr --delete
27+
switches: -avzr --delete --exclude='.git/' --exclude='.github/' --exclude='.incoming/'
2828
path: ./
2929
remote_path: ${{ secrets.DEPLOY_PATH }}/.incoming/
3030
remote_host: ${{ secrets.DEPLOY_HOST }}
@@ -43,6 +43,6 @@ jobs:
4343
set -e
4444
TARGET="${{ secrets.DEPLOY_PATH }}"
4545
46-
rsync -a --delete "$TARGET/.incoming/" "$TARGET/"
46+
rsync -a --delete --exclude='.incoming/' "$TARGET/.incoming/" "$TARGET/"
4747
4848
rm -rf "$TARGET/.incoming"

0 commit comments

Comments
 (0)