Skip to content

Commit

Permalink
set as dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ghannay10 committed Apr 11, 2024
1 parent 75c004f commit 2c22b9a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,7 @@ jobs:
- id: env-var
run: |
# prod env from main branch
if [ ${{ github.ref == 'refs/heads/main' }} ]; then
export ENVIRONMENT=prod
# Otherwise get the environment from the tag
else
export ENVIRONMENT=$(echo ${{ github.ref_name }} | awk -F- '{ print $2 }')
fi
echo "environment=${ENVIRONMENT}" >> $GITHUB_OUTPUT
echo "environment=dev" >> $GITHUB_OUTPUT
start-runner:
Expand Down

0 comments on commit 2c22b9a

Please sign in to comment.