Skip to content

Commit 179cec7

Browse files
committed
revert wiki sync changes
1 parent 9513840 commit 179cec7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/sync-wiki.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Sync Wiki
33
on:
44
push:
55
branches: [main]
6+
paths: ["wiki/**"]
67
workflow_dispatch:
78

89
jobs:
@@ -23,7 +24,7 @@ jobs:
2324

2425
- name: Sync Wiki Files
2526
run: |
26-
# Copy wiki content to GitHub's wiki repository (triggered by any code changes)
27+
# Copy wiki content to GitHub's wiki repository (triggered by wiki changes)
2728
find wiki-repo -mindepth 1 -maxdepth 1 ! -name '.git' -exec rm -rf {} +
2829
cp -r wiki/* wiki-repo/
2930
cd wiki-repo
@@ -36,12 +37,12 @@ jobs:
3637
git add .
3738
git commit -m "Sync wiki from main repository
3839
39-
🤖 Automated sync triggered by codebase changes
40+
🤖 Automated sync triggered by wiki changes
4041
4142
Co-Authored-By: GitHub Action <action@github.com>"
4243
git push origin master
4344
4445
- name: Summary
4546
run: |
4647
echo "✅ Wiki synchronization completed successfully"
47-
echo "📖 Wiki automatically updated following codebase changes"
48+
echo "📖 Wiki automatically updated following wiki changes"

0 commit comments

Comments
 (0)