Skip to content

Commit

Permalink
Update workflow for main branch rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowfiend committed Apr 19, 2024
1 parent 0606c11 commit f769520
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit f769520

Please sign in to comment.