From 81d2b1d07839da2e66949b3d58a8134d4f49a6a1 Mon Sep 17 00:00:00 2001 From: Gulliver Date: Thu, 8 Jun 2023 16:28:05 +0200 Subject: [PATCH] add documentation generation and deployment action added target-folder to github deploy fixed debian install command --- .github/workflows/doxygen-gh-pages.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/doxygen-gh-pages.yml b/.github/workflows/doxygen-gh-pages.yml index 77d966dfe..d2d121f71 100644 --- a/.github/workflows/doxygen-gh-pages.yml +++ b/.github/workflows/doxygen-gh-pages.yml @@ -1,10 +1,10 @@ name: Deploy Doxygen results to Github Pages -on: push -#on: -# push: -# branches: -# - main +#on: push +on: + push: + branches: + - main permissions: contents: write @@ -20,7 +20,7 @@ jobs: - name: prepate pip dependencies run: pip3 install mkdocs-material mkdocs-redirects pyyaml mkdocs-meta-descriptions-plugin --no-input - name: configure - run: cmake -B build -S . -DCROW_BUILD_DOCS=ON + run: cmake -B build -DCROW_AMALGAMATE=ON - name: clean generated docs dir run: rm -rf site docs/reference - name: clone doxygen theme @@ -29,8 +29,6 @@ jobs: run: doxygen - name: run mkdocs run: mkdocs build - #- name: build - # run: cmake --build build --target doc - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4