From 0fad587ae9db268ec9d8e79ff6f493677b409844 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 11 Jan 2025 16:11:13 +0000 Subject: [PATCH] Delete files not in the destination --- .forgejo/workflows/stage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/stage.yml b/.forgejo/workflows/stage.yml index 6fefed1..d8425bd 100644 --- a/.forgejo/workflows/stage.yml +++ b/.forgejo/workflows/stage.yml @@ -24,7 +24,7 @@ jobs: - run: yarn test - name: "Copy files over to location" - run: rsync -rvzP . ${{ secrets.STAGE_REPO_PATH }} + run: rsync -rvzP --delete . ${{ secrets.STAGE_REPO_PATH }} deploy: environment: prod