Skip to content

Commit 86d7d2d

Browse files
committed
Don't include .git during rsync VPS deployment
1 parent 4ad44b8 commit 86d7d2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy-to-vps.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
ARGS: "-rlgoDzvc --delete -i"
2121
REMOTE_HOST: ${{ secrets.VPS_HOST }}
2222
REMOTE_USER: ${{ secrets.VPS_USER }}
23+
EXCLUDE: ".git/"
2324
TARGET: ${{ secrets.VPS_TARGET }}
2425
SCRIPT_AFTER: |
2526
# Check if a directory for environment and config files is specified and copy its contents to the current directory if yes

0 commit comments

Comments
 (0)