Skip to content

Commit

Permalink
Change branch name to main for deploy logic (#2456)
Browse files Browse the repository at this point in the history
  • Loading branch information
rastut authored Sep 13, 2024
1 parent 3fb9dd2 commit 677458e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,11 @@ jobs:
uses: ./.github/workflows/deploy.yml
secrets: inherit
with:
environment: ${{ github.ref == 'refs/heads/master' && 'stage' || 'dev' }}
environment: ${{ github.ref == 'refs/heads/main' && 'stage' || 'dev' }}

release:
name: Trigger release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs:
- ci-passed
uses: ./.github/workflows/release.yml
Expand Down

0 comments on commit 677458e

Please sign in to comment.