From 54d69ea09f3f709b6035757eab1ccd6d19c47d73 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 26 May 2023 00:04:56 +0200 Subject: Fix github action --- .github/workflows/doxygen.yml | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) (limited to '.github/workflows/doxygen.yml') 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 -- cgit v1.2.3