File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - dev
7- - test_docs_civ2
7+ pull_request :
8+ branches :
9+ - dev
810 workflow_dispatch :
911
1012concurrency :
3840 run : |
3941 poetry install --with docs
4042
43+ - name : Test documentation
44+ run : |
45+ make test-docs
46+
4147 - name : build documentation
4248 run : |
4349 make docs
@@ -50,16 +56,16 @@ jobs:
5056 BRANCH_NAME=${BRANCH_NAME////_}
5157 echo BRANCH_NAME=${BRANCH_NAME} >> $GITHUB_ENV
5258
53- - name : save artifact
59+ - name : Upload artifact
5460 uses : actions/upload-artifact@v4
5561 with :
5662 name : ${{ format('github-pages-for-branch-{0}', env.BRANCH_NAME) }}
5763 path : docs/build/
5864 retention-days : 3
5965
60- - name : deploy website
66+ - name : Deploy to GitHub Pages
6167 uses : JamesIves/github-pages-deploy-action@v4.6.4
62- if : ${{ github.ref ! = 'refs/heads/dev' }}
68+ if : ${{ github.ref = = 'refs/heads/dev' }}
6369 with :
6470 branch : gh-pages
6571 folder : docs/build/html/
You can’t perform that action at this time.
0 commit comments