Skip to content

Commit

Permalink
Eregcsc 2062 update prod conditional (#918)
Browse files Browse the repository at this point in the history
* new conditional checks for environment

* envriomental check

* removing experimental test on deploy

* remove variable
  • Loading branch information
thwalker6 authored Aug 1, 2023
1 parent 84c20a3 commit ab9af21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ jobs:
popd
- name: condtional output for prod
id: condtional-output-for-prod
if: ${{ matrix.environment }} == "prod"
if: ${{ matrix.environment == 'prod' }}
run: echo "prod is here"
- name: conditoinal output for other environments
- name: conditional output for other environments
id: condtional-output-for-not-prod
if: ${{ matrix.environment }} != "prod"
if: ${{ matrix.environment != 'prod' }}
run: echo "this is not prod"
# vite needs the .env file in order to know the URL of the api.
- name: Make envfile
Expand Down

0 comments on commit ab9af21

Please sign in to comment.