Merge branch 'dev'
Some checks failed
Some checks failed
This commit is contained in:
41
.github/workflows/docs.yml
vendored
41
.github/workflows/docs.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
export TZ=UTC
|
||||||
cd doc
|
cd doc
|
||||||
doxygen
|
doxygen
|
||||||
|
|
||||||
@ -33,29 +34,29 @@ jobs:
|
|||||||
mv _build_doxygen/html deploy/doxygen
|
mv _build_doxygen/html deploy/doxygen
|
||||||
mv _build_sphinx/html/* deploy
|
mv _build_sphinx/html/* deploy
|
||||||
|
|
||||||
- name: Setup pages
|
# - name: Setup pages
|
||||||
if: github.event_name != 'pull_request'
|
# if: github.event_name != 'pull_request'
|
||||||
uses: actions/configure-pages@v4
|
# uses: actions/configure-pages@v4
|
||||||
|
|
||||||
- name: Upload pages artifact
|
# - name: Upload pages artifact
|
||||||
if: github.event_name != 'pull_request'
|
# if: github.event_name != 'pull_request'
|
||||||
uses: actions/upload-pages-artifact@v3
|
# uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
# with:
|
||||||
path: doc/deploy
|
# path: doc/deploy
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
if: github.event_name == 'pull_request'
|
# if: github.event_name == 'pull_request'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: doc/deploy
|
path: doc/deploy
|
||||||
|
|
||||||
deploy:
|
# deploy:
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
needs: build
|
# needs: build
|
||||||
if: github.event_name != 'pull_request'
|
# if: github.event_name != 'pull_request'
|
||||||
permissions:
|
# permissions:
|
||||||
pages: write
|
# pages: write
|
||||||
id-token: write
|
# id-token: write
|
||||||
steps:
|
# steps:
|
||||||
- name: Deploy to GitHub Pages
|
# - name: Deploy to GitHub Pages
|
||||||
uses: actions/deploy-pages@v4
|
# uses: actions/deploy-pages@v4
|
||||||
|
Reference in New Issue
Block a user