File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - name : Checkout docs
2323 uses : actions/checkout@v6
2424 with :
25- path : docs
25+ path : docs-repo
2626 repository : nanoforge-dev/docs
2727 token : ${{ secrets.ACTIONS_KEY }}
2828
@@ -52,12 +52,11 @@ jobs:
5252 - name : synchronize docs
5353 run : |
5454 cd engine
55- ./scripts/build_docs.sh
55+ pnpm run docs
5656 cd ..
57- rm docs/engine -rf
58- mkdir -p docs/docs/engine
59- cp -r engine/docs/* docs/docs/engine
60- cd docs
57+ mkdir -p docs-repo/docs/engine
58+ rsync -av engine/docs/* docs-repo/docs/engine/
59+ cd docs-repo
6160 git add . || echo "No changes to add"
6261 git commit -m "chore(engine): updating docs" || echo "No changes to commit"
6362 git push origin main || echo "No changes to push"
Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ coverage/
1919CHANGELOG.md
2020
2121emsdk-cache /
22+ docs /api
You can’t perform that action at this time.
0 commit comments