Update doxygen_build_deploy.yml

This commit is contained in:
Jan W. Krieger 2022-04-22 22:16:18 +02:00 committed by GitHub
parent 1bc4e99892
commit 3e34e36272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,11 +25,6 @@ jobs:
with: with:
path: JKQtPlotter path: JKQtPlotter
- uses: actions/checkout@v3
with:
ref: gh-pages
path: JKQtPlotter_doc
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update sudo apt-get update
@ -37,26 +32,17 @@ jobs:
sudo apt-get install -f sudo apt-get install -f
sudo apt -y install build-essential doxygen graphviz doxygen-latex sudo apt -y install build-essential doxygen graphviz doxygen-latex
#- name: empty branch gh-pages
# run: |
# cd JKQtPlotter_doc
# git rm -r *
# cd ..
- name: Run Doxygen - name: Run Doxygen
run: | run: |
cd JKQtPlotter
cd doc cd doc
doxygen --version doxygen --version
doxygen Doxyfile doxygen Doxyfile
echo "" > html/.nojekyll echo "" > html/.nojekyll
cd .. cd ..
cd ..
- name: Deploy to GitHub Pages - uses: DenverCoder1/doxygen-github-pages-action@v1
uses: JamesIves/github-pages-deploy-action@3.7.1
with: with:
github_token: ${{ secrets.GH_PAGES_SECRET }} github_token: ${{ secrets.GH_PAGES_SECRET }}
branch: gh-pages branch: gh-pages
folder: JKQtPlotter/doc/html folder: docs/html