From 9a2a6de16bc0ed52873811c38b7007359eea23aa Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 18 Apr 2025 09:16:11 +0200 Subject: [PATCH] Only deploy page on main branch --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af27a526..a6860204 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -534,8 +534,8 @@ jobs: deploy-page: name: Deploy Page runs-on: ubuntu-latest - needs: [build-page] - #if: github.repository_owner == 'momo5502' && github.event_name == 'push' && github.ref == 'refs/heads/main' + needs: [build-page, summary] + if: github.repository_owner == 'momo5502' && github.event_name == 'push' && github.ref == 'refs/heads/main' permissions: contents: read pages: write