Skip to content

Commit 525e80f

Browse files
committed
Remove --delete from rsync ARGS in workflow
Update .github/workflows/repo.yml to remove the `--delete` flag from the rsync ARGS environment variable. This prevents rsync from deleting files on the remote target that are not present in the source, making deployments safer by avoiding accidental removals of remote assets.
1 parent 1843304 commit 525e80f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,4 @@ jobs:
215215
REMOTE_USER: ${{ secrets.REMOTE_USER }}
216216
SOURCE: "repo/"
217217
TARGET: ${{ env.REPO_PATH }}/
218-
ARGS: "-avz --delete"
218+
ARGS: "-avz"

0 commit comments

Comments
 (0)