Skip to content

Commit

Permalink
feat:update docs cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuan520 committed Nov 21, 2024
1 parent e059544 commit 7a8b691
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- 'docs/**'
- '.github/workflows/docs.yml'

jobs:
build:
Expand All @@ -20,14 +21,17 @@ jobs:
run: |
cd ./docs
./update.sh
rm -rf ./obsidian2web
mv ./cppnet/README.md Home.md
mv ./cppnet/README.en.md .
cd ..
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book

- name: Wiki deploy
uses: spenserblack/actions-wiki@0.3.0
- name: Wiki Update
uses: spenserblack/actions-wiki@v0.3.0
with:
# Whatever directory you choose will be mirrored to the GitHub
# .wiki.git. The default is .github/wiki.
Expand Down

0 comments on commit 7a8b691

Please sign in to comment.