Skip to content

Commit

Permalink
Default to environment value dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Oct 8, 2024
1 parent 0bb225d commit fa77462
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
uses: ./.github/workflows/build_and_deploy.yml
with:
environment: ${{ inputs.environment ||
(github.ref == 'refs/heads/dev' && 'dev') ||
(github.ref == 'refs/heads/DEVOPS-3352-integrate-coralogix-monitoring' && 'dev') ||
(github.ref == 'refs/heads/main' && 'staging') ||
(github.event_name == 'pull_request' && 'dev') ||
'prod' }}
(github.ref == 'refs/heads/dev' && 'dev') ||
(github.ref == 'refs/heads/hosted/DEVOPS-3352-integrate-coralogix-monitoring' && 'dev') ||
(github.ref == 'refs/heads/main' && 'staging') ||
(github.event_name == 'pull_request' && 'dev') ||
'dev' }}
secrets: inherit

0 comments on commit fa77462

Please sign in to comment.