Skip to content

Commit

Permalink
Fix git legacy branch name master into main
Browse files Browse the repository at this point in the history
  • Loading branch information
pkong-ds committed May 22, 2024
1 parent 435e3ff commit 68d4fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ concurrency:
on:
push:
branches:
- master
- main

jobs:
cd:
Expand All @@ -24,7 +24,7 @@ jobs:
- run: npm ci
- name: Set env to staging
run: |
if [[ "${{ github.ref_name }}" == "master" ]]; then
if [[ "${{ github.ref_name }}" == "main" ]]; then
echo "ENV=staging" >> $GITHUB_ENV
elif [[ "${{ github.ref_name }}" == "production" ]]; then
echo "ENV=production" >> $GITHUB_ENV
Expand Down

0 comments on commit 68d4fc1

Please sign in to comment.