Skip to content

Commit 9a0946c

Browse files
authored
Update build.yaml
1 parent 1816419 commit 9a0946c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,11 @@ jobs:
3636
- name: Set up Docker Buildx
3737
uses: docker/setup-buildx-action@v3
3838

39-
- name: Sets env vars for releases
40-
env:
41-
ENV: ${{ vars.ENV }}
39+
# see tdei_uw.env for why
40+
- name: Override ENV_NAME_PARAM for prod deployments
41+
if: github.ref_name == 'prod'
4242
run: |
43-
if [[ $ENV == 'prod' ]]; then
44-
echo "ENV_NAME_PARAM=" >> "$GITHUB_ENV"
45-
else
46-
echo "ENV_NAME_PARAM=-$ENV" >> "$GITHUB_ENV"
47-
fi
43+
echo "ENV_NAME_PARAM=" >> "$GITHUB_ENV"
4844
4945
- name: Build and push
5046
run: |

0 commit comments

Comments
 (0)