Skip to content

Commit

Permalink
feat: get env
Browse files Browse the repository at this point in the history
  • Loading branch information
0-vortex committed Mar 12, 2022
1 parent 6d67654 commit 740e7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -8,7 +8,7 @@ on:
- beta

env:
DEPLOY_ENVIRONMENT: [[ ${{ github.ref_name }} == 'main' ]] && echo "production" || echo ${{ github.ref_name }}
DEPLOY_ENVIRONMENT: "$([[ ${{ github.ref_name }} == 'main' ]] && echo 'production' || echo ${{ github.ref_name }})"

jobs:
test:
Expand Down

0 comments on commit 740e7f7

Please sign in to comment.