mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
add tag restriction and pages back
This commit is contained in:
parent
36a6680ad8
commit
6de61d41ca
1 changed files with 7 additions and 12 deletions
19
.github/workflows/documentation.yaml
vendored
19
.github/workflows/documentation.yaml
vendored
|
@ -2,13 +2,8 @@ name: Documentation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- master
|
- "*"
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- main
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||||
|
@ -43,8 +38,8 @@ jobs:
|
||||||
cmake -Sdocumentation -Bbuild
|
cmake -Sdocumentation -Bbuild
|
||||||
cmake --build build --target GenerateDocs
|
cmake --build build --target GenerateDocs
|
||||||
|
|
||||||
# - name: Publish
|
- name: Publish
|
||||||
# uses: peaceiris/actions-gh-pages@v4
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
# with:
|
with:
|
||||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# publish_dir: ./build/doxygen/html
|
publish_dir: ./build/doxygen/html
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue