From f769520b06c1eb451b01500418bbdcc2dbd6d811 Mon Sep 17 00:00:00 2001 From: Antonio Salazar Cardozo Date: Fri, 19 Apr 2024 14:57:01 -0400 Subject: [PATCH] Update workflow for main branch rename --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ebdb85c2..16ca4dfd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,9 +4,9 @@ name: Gatsby on: pull_request: - branches: [ master, new-new ] + branches: [ main, new-new ] push: - branches: [ master ] + branches: [ main ] jobs: build-and-deploy: @@ -34,7 +34,7 @@ jobs: mkdir public/.well-known cp security.txt public/security.txt cp security.txt public/.well-known/security.txt - # A push event is a master merge; deploy to primary bucket. + # A push event is a main merge; deploy to primary bucket. - if: github.event_name == 'push' name: Deploy Master to GCP uses: thesis/gcp-storage-bucket-action@v3.1.0