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
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user