Skip to content

Commit 70f65d3

Browse files
authored
Avoid pushing .git to server
1 parent 6d88f8a commit 70f65d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: AEnterprise/[email protected]
2525
env:
2626
DEPLOY_KEY: ${{ secrets.PRIVATE_KEY }}
27-
ARGS: "-c -r --delete"
27+
ARGS: "-c -r --delete --exclude='.git/'"
2828
SERVER_PORT: 22
2929
FOLDER: ./
3030
SERVER_IP: ${{ secrets.HOST }}

0 commit comments

Comments
 (0)