fix: deploy Pages only from main

This commit is contained in:
CAtlas0784 committed 2026-10-18 22:42:35 +07:00
1 parent 3575261aa4
commit 141798c629
1 file changed
+2 -1
+2 -1
View File
@@ -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 }}