From ee9529141827a3ce970d0404aa18766999cd5edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dahlgren?= Date: Sun, 17 Dec 2023 18:29:06 +0100 Subject: [PATCH] Only build documentation for main branch push --- .github/workflows/documentation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 650f2935..2fcf9bff 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,7 +1,10 @@ # ci.yml file for GitHub Actions name: Documentation -on: [push] +on: + push: + branches: + - main # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: