From e5ef95fc5bf901857ac4d87c1bd434036d75fb08 Mon Sep 17 00:00:00 2001 From: kara-mela Date: Fri, 26 Jun 2026 11:40:22 +0200 Subject: [PATCH] Repair deploy pipeline Motivation Currently, the pipeline is setup in such a way that it always fails in the last step: "deploy" with the following error message > Branch "refs/pull/481/merge" is not allowed to deploy to github-pages > due to environment protection rules. The protection rules have been set up to only allow releases to make these changes. However, this protection is now causing the pipeline to fail every time (except for rare releases), which leaves an untidy/unprofessional impression. Modification Re-activating if-condition in the deploy pipeline. Result Pipeline not failing at every run. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86d42b4..b623a40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -153,7 +153,7 @@ jobs: deploy: # From naming convention on above tag selection, tags # only trigger the workflow if they are releases. - #if: ${{ github.ref_type == 'tag' }} + if: ${{ github.ref == 'refs/heads/master' }} needs: build-webpage permissions: