From 63ff098b009654e3299b3f323e54873c43eeef99 Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 30 Oct 2022 11:10:03 -0600 Subject: [PATCH] Add deploy docs release action. --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..8dce5d9 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: Release + +on: + release: + types: [published] + workflow_dispatch: + +jobs: + build_docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Doxygen Action + uses: mattnotmitt/doxygen-action@v1.9.1 + with: + working-directory: 'docs/' + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/doxydocs/html \ No newline at end of file