From a98da95213975785df21a95a754f843a4ac4a97c Mon Sep 17 00:00:00 2001 From: sugihara Date: Tue, 10 Sep 2024 15:24:41 +0900 Subject: [PATCH] [Doxygen] generate Doxygen to gh-pages branch --- .github/workflows/doxygen-gh-pages.yml | 19 +++++++++++++++++++ Doxyfile | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/doxygen-gh-pages.yml diff --git a/.github/workflows/doxygen-gh-pages.yml b/.github/workflows/doxygen-gh-pages.yml new file mode 100644 index 000000000..0d77546dd --- /dev/null +++ b/.github/workflows/doxygen-gh-pages.yml @@ -0,0 +1,19 @@ +name: Doxygen GitHub Pages Deploy Action + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: DenverCoder1/doxygen-github-pages-action@v2.0.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages + folder: docs/html + config_file: Doxyfile + doxygen_version: 1.9.6 \ No newline at end of file diff --git a/Doxyfile b/Doxyfile index 258617636..569c64b01 100644 --- a/Doxyfile +++ b/Doxyfile @@ -58,7 +58,7 @@ PROJECT_LOGO = # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = +OUTPUT_DIRECTORY =docs # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and