Skip to content

Commit

Permalink
Restrict workflow to build documentation to gh-pages branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScheiklP authored Oct 19, 2023
1 parent 5cef54a commit 34096e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish documentation on Github Pages

on: [push, pull_request, workflow_dispatch]
on:
push:
branches: [gh-pages]

# Cancel any in-progress job or run
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
Expand Down

0 comments on commit 34096e7

Please sign in to comment.