Skip to content

Commit 38a32ab

Browse files
taylorarndtCopilot
andcommitted
fix: exclude .git from rsync so wiki push targets the wiki repo
rsync --delete was deleting wiki/.git, causing git to fall back to the main repo remote and fail branch protection rules. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bbc1148 commit 38a32ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync-docs-to-wiki.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
3131
- name: Sync docs to wiki
3232
run: |
33-
rsync -av --delete docs/ wiki/
33+
rsync -av --delete --exclude='.git' docs/ wiki/
3434
cd wiki
3535
git add -A
3636
if [ -n "$(git status --porcelain)" ]; then

0 commit comments

Comments
 (0)