Skip to content

Commit ae5905a

Browse files
committed
ci: enable deployment for master branch
- Update deploy-production condition to support both main and master branches - Fix deployment workflow to trigger on current branch
1 parent 11ac4df commit ae5905a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
deploy-production:
5454
name: Deploy Production
5555
runs-on: ubuntu-latest
56-
if: github.ref == 'refs/heads/main'
56+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
5757
environment:
5858
name: production
5959
url: ${{ vars.PRODUCTION_URL }}

0 commit comments

Comments
 (0)