Skip to content

Commit 7a8b691

Browse files
committed
feat:update docs cicd
1 parent e059544 commit 7a8b691

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- master
77
paths:
88
- 'docs/**'
9+
- '.github/workflows/docs.yml'
910

1011
jobs:
1112
build:
@@ -20,14 +21,17 @@ jobs:
2021
run: |
2122
cd ./docs
2223
./update.sh
24+
rm -rf ./obsidian2web
25+
mv ./cppnet/README.md Home.md
26+
mv ./cppnet/README.en.md .
2327
cd ..
2428
- name: Upload artifact
2529
uses: actions/upload-pages-artifact@v3
2630
with:
2731
path: ./book
2832

29-
- name: Wiki deploy
30-
uses: spenserblack/actions-wiki@0.3.0
33+
- name: Wiki Update
34+
uses: spenserblack/actions-wiki@v0.3.0
3135
with:
3236
# Whatever directory you choose will be mirrored to the GitHub
3337
# .wiki.git. The default is .github/wiki.

0 commit comments

Comments
 (0)