From 129ccacb49872fd87c05b531f4df776b952458f0 Mon Sep 17 00:00:00 2001 From: 21120447 Date: Fri, 19 Jul 2024 23:29:36 +0700 Subject: [PATCH] fix: static page with nextjs --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5734920..7c66ae5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,7 +7,7 @@ name: Deploy Next.js site to Pages on: # Runs on pushes targeting the default branch push: - branches: [$default-branch] + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -22,7 +22,7 @@ permissions: # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: group: "pages" - cancel-in-progress: false + cancel-in-progress: true jobs: # Build job