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