Skip to content

Commit b5a5243

Browse files
committed
🎨 test to only publish new report upon new release
1 parent 44b218f commit b5a5243

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
run: |
4040
mv docs/quarto_report/quarto_report.html docs/quarto_report/index.html
4141
- name: Publish html report to github pages
42+
# Only publish a new static report upon a new release -> can be changed.
43+
if: startsWith(github.ref, 'refs/tags')
4244
uses: peaceiris/actions-gh-pages@v4
4345
with:
4446
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)