From 6e39e6dc1631d8682e76d9e50b4e612940f366a6 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 9 Sep 2021 18:10:07 +0900 Subject: [PATCH] Add gh-pages workflow for Doxygen documentation --- .github/workflows/gh-pages.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..81cf629 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,26 @@ +name: GitHub Pages Generated Doxygen Docs + +on: + push: + branches: + - master + +jobs: + build-deploy-doxygen-docs: + runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 1 + + - name: Generate Doxygen Documentation + uses: mattnotmitt/doxygen-action@v1 + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.ref == 'refs/heads/master' }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./doxygen_out/html