1

Fix master branch name in CI

This commit is contained in:
Evan Pratten 2024-04-13 16:31:27 -04:00
parent 82ded6e31a
commit 219dcf8590

View File

@ -6,7 +6,7 @@ on:
jobs:
build_dev:
name: Development Build
if: github.ref != 'refs/heads/main'
if: github.ref != 'refs/heads/master'
runs-on: ubuntu-latest
environment: production
permissions:
@ -14,7 +14,7 @@ jobs:
deployments: write
steps:
- name: Checkout main
- name: Checkout master
uses: actions/checkout@v4
- name: Build only
@ -35,7 +35,7 @@ jobs:
build_prod:
name: Production Build
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
environment: production
permissions:
@ -43,7 +43,7 @@ jobs:
deployments: write
steps:
- name: Checkout main
- name: Checkout master
uses: actions/checkout@v4
- name: Build only