update workflow
This commit is contained in:
1 parent
fb165f6e08
commit
5ca892610e
3 files changed
+8
-25
No files matched your search
@@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
doxy-build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@@ -20,40 +20,21 @@ jobs:
|
|||||||
# Path to Doxyfile
|
# Path to Doxyfile
|
||||||
doxyfile-path: 'docs/doxygen/Doxyfile'
|
doxyfile-path: 'docs/doxygen/Doxyfile'
|
||||||
|
|
||||||
- name: Upload doxygen files as artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: doxygen_files
|
|
||||||
path: build/xml/
|
|
||||||
|
|
||||||
sphinx-build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: doxy-build
|
|
||||||
steps:
|
|
||||||
- name: Check out the repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Download doxygen files artifact
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: doxygen_files
|
|
||||||
path: build/xml/
|
|
||||||
|
|
||||||
- name: Sphinx build
|
- name: Sphinx build
|
||||||
uses: ammaraskar/sphinx-action@0.4
|
uses: ammaraskar/sphinx-action@0.4
|
||||||
with:
|
with:
|
||||||
docs-folder: "docs/sphinx"
|
docs-folder: "docs/sphinx/source"
|
||||||
|
|
||||||
- name: Upload sphinx files as artifact
|
- name: Upload sphinx files as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sphinx_files
|
name: sphinx_files
|
||||||
path: build/
|
path: docs/sphinx/build/
|
||||||
|
|
||||||
deploy-main:
|
deploy-main:
|
||||||
if: github.ref == 'refs/heads/main' # Only deploy on 'main' branch
|
if: github.ref == 'refs/heads/main' # Only deploy on 'main' branch
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: sphinx-build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download sphinx files artifact
|
- name: Download sphinx files artifact
|
||||||
@@ -73,7 +54,7 @@ jobs:
|
|||||||
deploy-dev:
|
deploy-dev:
|
||||||
if: github.ref == 'refs/heads/dev' # Only deploy on 'dev' branch
|
if: github.ref == 'refs/heads/dev' # Only deploy on 'dev' branch
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: sphinx-build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download doxygen files artifact
|
- name: Download doxygen files artifact
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
sphinx-rtd-theme==3.0.2
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
sphinx-rtd-theme==3.0.2
|
||||||
|
breathe==4.35.0
|
||||||
|
myst-parser==4.0.0
|
||||||
Reference in new issue
Block a user