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
|
||||
with:
|
||||
# Path to Doxyfile
|
||||
doxyfile-path: 'docs/doxygen'
|
||||
doxyfile-path: 'docs/doxygen/Doxyfile'
|
||||
|
||||
- name: Upload doxygen files as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -28,6 +28,7 @@ jobs:
|
||||
|
||||
sphinx-build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: doxy-build
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -52,7 +53,7 @@ jobs:
|
||||
deploy-main:
|
||||
if: github.ref == 'refs/heads/main' # Only deploy on 'main' branch
|
||||
runs-on: ubuntu-latest
|
||||
needs: doxy-build
|
||||
needs: sphinx-build
|
||||
|
||||
steps:
|
||||
- name: Download sphinx files artifact
|
||||
@@ -72,7 +73,7 @@ jobs:
|
||||
deploy-dev:
|
||||
if: github.ref == 'refs/heads/dev' # Only deploy on 'dev' branch
|
||||
runs-on: ubuntu-latest
|
||||
needs: doxy-build
|
||||
needs: sphinx-build
|
||||
|
||||
steps:
|
||||
- name: Download doxygen files artifact
|
||||
|
||||
Reference in new issue
Block a user