Skip to content

Commit

Permalink
Merge pull request #221 from okto-hq/nish-temp-1
Browse files Browse the repository at this point in the history
adding main branch in cd
  • Loading branch information
nishithdcx authored Jan 22, 2025
2 parents fcb6ca9 + b076431 commit b445c07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- release
- temp-nish
- main
workflow_dispatch:

env:
Expand Down Expand Up @@ -42,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
needs: app_build
env:
BRANCH: "infra"
BRANCH: ${{ (github.ref_name == 'release') && 'infra' || 'infra-staging' }}
IMAGE_TAG: ${{ github.run_id }}
steps:
- name: Checkout repository
Expand Down

0 comments on commit b445c07

Please sign in to comment.