1
0
Fork 0
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:
Lars Melchior 2025-03-12 19:27:55 +01:00
parent 36a6680ad8
commit 6de61d41ca

View file

@ -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