From 34096e7b85222f3560bfccb252550751f5dfc452 Mon Sep 17 00:00:00 2001 From: Paul Maria Scheikl Date: Thu, 19 Oct 2023 15:50:24 +0200 Subject: [PATCH] Restrict workflow to build documentation to gh-pages branch. --- .github/workflows/documentation.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 9730e06..a1134bc 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -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