From 141798c629b25616c57c50ca004e9b98070523ed Mon Sep 17 00:00:00 2001 From: CAtlas0784 Date: Sun, 18 Oct 2026 22:42:35 +0700 Subject: [PATCH] fix: deploy Pages only from main --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b3493f6..b4c0481 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Deploy GaC-Srtool to GitHub Pages on: push: - branches: ["main", "test-gay"] + branches: ["main"] workflow_dispatch: permissions: @@ -16,6 +16,7 @@ concurrency: jobs: deploy: + if: github.ref == 'refs/heads/main' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}