From d30fbc04da1d6eb8d530da07feb3fa62cc3cdb6c Mon Sep 17 00:00:00 2001 From: Richard Gill Date: Mon, 18 Nov 2024 00:50:51 +0100 Subject: [PATCH] added gh-pages action to deploy doxygen generated doc --- .github/workflows/docs.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..87023c2e --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,26 @@ +name: Documentation on github.io + +on: + push: + branches: [ github.io ] + +jobs: + build-documentation: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: apt-update + run: sudo apt-get update -qq + - name: apt-get doxygen + run: sudo apt-get install -y doxygen + - name: build doc + run: make docs + - name: deploy + 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