mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 06:22:15 -07:00
Run on changes to file but only deploy on tags
This commit is contained in:
parent
c7f2ba8c15
commit
652f6864d8
1 changed files with 4 additions and 0 deletions
4
.github/workflows/documentation-build.yml
vendored
4
.github/workflows/documentation-build.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
push:
|
||||
tags:
|
||||
- '*' # Only re-generate docs when a new tagged version is pushed
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/documentation-build.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
@ -22,6 +25,7 @@ jobs:
|
|||
run: doxygen Doxyfile
|
||||
|
||||
- name: Deploy to cockatrice.github.io
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue