From b43003966f72f899942f9e5a80d8358b6ddeea72 Mon Sep 17 00:00:00 2001 From: froejdh_e Date: Fri, 29 Nov 2024 16:41:42 +0100 Subject: [PATCH] build pkg on all branched deploy docs on main --- .github/workflows/build_docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 57f15a3a..959ab70e 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -3,8 +3,7 @@ name: Build the package using cmake then documentation on: workflow_dispatch: push: - branches: - - main + permissions: @@ -58,6 +57,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + if: github.ref == 'refs/heads/main' steps: - name: Deploy to GitHub Pages id: deployment