Skip to content

Commit ecccea7

Browse files
authored
Update static.yml
1 parent 55e2da7 commit ecccea7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
- name: Deploy via rsync
6060
run: |
6161
rsync -avz --delete \
62+
--exclude=.git/ \
63+
--exclude=.github/ \
6264
-e "ssh -i ~/.ssh/server_key.pem -o StrictHostKeyChecking=no" \
6365
./ \
6466
${{ secrets.SSH_USERNAME }}@${{ secrets.SERVER_IP }}:/var/www/html/

0 commit comments

Comments
 (0)