File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Sync Wiki
33on :
44 push :
55 branches : [main]
6+ paths : ["wiki/**"]
67 workflow_dispatch :
78
89jobs :
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"
You can’t perform that action at this time.
0 commit comments