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:
path: JKQtPlotter
- uses: actions/checkout@v3
with:
ref: gh-pages
path: JKQtPlotter_doc
- name: Install dependencies
run: |
sudo apt-get update
@ -37,26 +32,17 @@ jobs:
sudo apt-get install -f
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
run: |
cd JKQtPlotter
cd doc
doxygen --version
doxygen Doxyfile
echo "" > html/.nojekyll
cd ..
cd ..
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
- uses: DenverCoder1/doxygen-github-pages-action@v1
with:
github_token: ${{ secrets.GH_PAGES_SECRET }}
branch: gh-pages
folder: JKQtPlotter/doc/html
folder: docs/html