Modify docs.yml
This commit is contained in:
1 parent
251d71e73f
commit
fb165f6e08
1 file changed
+4
-3
@@ -18,7 +18,7 @@ jobs:
|
|||||||
uses: mattnotmitt/doxygen-action@v1.9.5
|
uses: mattnotmitt/doxygen-action@v1.9.5
|
||||||
with:
|
with:
|
||||||
# Path to Doxyfile
|
# Path to Doxyfile
|
||||||
doxyfile-path: 'docs/doxygen'
|
doxyfile-path: 'docs/doxygen/Doxyfile'
|
||||||
|
|
||||||
- name: Upload doxygen files as artifact
|
- name: Upload doxygen files as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -28,6 +28,7 @@ jobs:
|
|||||||
|
|
||||||
sphinx-build:
|
sphinx-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: doxy-build
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -52,7 +53,7 @@ jobs:
|
|||||||
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: doxy-build
|
needs: sphinx-build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download sphinx files artifact
|
- name: Download sphinx files artifact
|
||||||
@@ -72,7 +73,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: doxy-build
|
needs: sphinx-build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download doxygen files artifact
|
- name: Download doxygen files artifact
|
||||||
|
|||||||
Reference in new issue
Block a user