mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
add documentation generation and deployment action
added target-folder to github deploy fixed debian install command
This commit is contained in:
parent
acfc581d32
commit
81d2b1d078
14
.github/workflows/doxygen-gh-pages.yml
vendored
14
.github/workflows/doxygen-gh-pages.yml
vendored
@ -1,10 +1,10 @@
|
|||||||
name: Deploy Doxygen results to Github Pages
|
name: Deploy Doxygen results to Github Pages
|
||||||
|
|
||||||
on: push
|
#on: push
|
||||||
#on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - main
|
- main
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -20,7 +20,7 @@ jobs:
|
|||||||
- name: prepate pip dependencies
|
- name: prepate pip dependencies
|
||||||
run: pip3 install mkdocs-material mkdocs-redirects pyyaml mkdocs-meta-descriptions-plugin --no-input
|
run: pip3 install mkdocs-material mkdocs-redirects pyyaml mkdocs-meta-descriptions-plugin --no-input
|
||||||
- name: configure
|
- name: configure
|
||||||
run: cmake -B build -S . -DCROW_BUILD_DOCS=ON
|
run: cmake -B build -DCROW_AMALGAMATE=ON
|
||||||
- name: clean generated docs dir
|
- name: clean generated docs dir
|
||||||
run: rm -rf site docs/reference
|
run: rm -rf site docs/reference
|
||||||
- name: clone doxygen theme
|
- name: clone doxygen theme
|
||||||
@ -29,8 +29,6 @@ jobs:
|
|||||||
run: doxygen
|
run: doxygen
|
||||||
- name: run mkdocs
|
- name: run mkdocs
|
||||||
run: mkdocs build
|
run: mkdocs build
|
||||||
#- name: build
|
|
||||||
# run: cmake --build build --target doc
|
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user