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

View file

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