mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 13:41:13 +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:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
|
@ -43,8 +38,8 @@ jobs:
|
|||
cmake -Sdocumentation -Bbuild
|
||||
cmake --build build --target GenerateDocs
|
||||
|
||||
# - name: Publish
|
||||
# uses: peaceiris/actions-gh-pages@v4
|
||||
# with:
|
||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# publish_dir: ./build/doxygen/html
|
||||
- name: Publish
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build/doxygen/html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue