diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2023-05-26 00:04:56 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2023-05-26 00:45:19 +0200 |
commit | 54d69ea09f3f709b6035757eab1ccd6d19c47d73 (patch) | |
tree | dccc6f23782a0a8b889dcd08cd6eb59889ab868d /.github/workflows | |
parent | fd93959d86511166eb8cedaca2f9ac2054174b84 (diff) | |
download | pcitool-54d69ea09f3f709b6035757eab1ccd6d19c47d73.tar.gz pcitool-54d69ea09f3f709b6035757eab1ccd6d19c47d73.tar.bz2 pcitool-54d69ea09f3f709b6035757eab1ccd6d19c47d73.tar.xz pcitool-54d69ea09f3f709b6035757eab1ccd6d19c47d73.zip |
Fix github action
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/doxygen.yml | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index bdd9c9c..85ef454 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -1,4 +1,28 @@ -- name: Doxygen Action - uses: mattnotmitt/doxygen-action@1.9.5 - working-directory: docs - doxyfile-path: 'Doxyfile' +name: Documentation + +on: + push: + branches: [ master ] + +jobs: + build-documentation: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Doxygen Action + uses: mattnotmitt/doxygen-action@1.9.5 + with: + doxyfile-path: './Doxyfile' + working-directory: 'docs/' + + - name: GH Pages Deployment + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: './docs/html/' + enable_jekyll: false + allow_empty_commit: false + force_orphan: true + publish_branch: gh-pages |