Skip to content

Commit 89406c7

Browse files
committed
update documentation ci
1 parent d8fa9a1 commit 89406c7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/gh-pages.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
shell: bash
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
2628

2729
- name: Install dependencies
2830
run: |
@@ -32,8 +34,12 @@ jobs:
3234
3335
- name: Generate docs
3436
run: |
37+
git fetch origin master:refs/remotes/origin/master --tags --force
38+
git remote set-head origin -a
39+
git checkout master
40+
git pull --force
3541
cd docs
36-
poxy --verbose
42+
poxy --verbose --git-tags
3743
3844
- name: Deploy
3945
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)