deploy.yml: rsync --delete löscht gitignorierte Dateien auf dem Ziel nicht mehr (Filter aus .gitignore)
This commit is contained in:
1 parent
3b915d3483
commit
0334711b8e
1 file changed
+1
@@ -41,6 +41,7 @@ jobs:
|
||||
run: |
|
||||
sshpass -e rsync -az --delete \
|
||||
--exclude '.git' --exclude '.gitea' --exclude '.env' \
|
||||
--filter=':- .gitignore' \
|
||||
-e "ssh $SSH_OPTS" \
|
||||
./ "$DEPLOY_USER@$DEPLOY_HOST:deployment/"
|
||||
|
||||
|
||||
Reference in new issue
Block a user