Skip to content

Commit

Permalink
Update aws_deploy_hydroserver.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kjlippold authored Apr 25, 2024
1 parent 5327d6a commit 94128ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/aws_deploy_hydroserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ jobs:
VITE_APP_GOOGLE_MAPS_API_KEY=${{ secrets.GOOGLE_MAPS_API_KEY }}
VITE_APP_GOOGLE_MAPS_MAP_ID=${{ secrets.GOOGLE_MAPS_MAP_ID }}
VITE_APP_PROXY_BASE_URL=${{ vars.PROXY_BASE_URL }}
VITE_APP_DISABLE_ACCOUNT_CREATION=${{ if eq(vars.DISABLE_ACCOUNT_CREATION, 'True') }}true{{ else }}false{{ endif }}
VITE_APP_GOOGLE_OAUTH_ENABLED=${{ if eq(vars.OAUTH_GOOGLE_CLIENT, 'True') }}true{{ else }}false{{ endif }}
VITE_APP_ORCID_OAUTH_ENABLED=${{ if eq(vars.OAUTH_ORCID_CLIENT, 'True') }}true{{ else }}false{{ endif }}
VITE_APP_HYDROSHARE_OAUTH_ENABLED=${{ if eq(vars.OAUTH_HYDROSHARE_CLIENT, 'True') }}true{{ else }}false{{ endif }}
VITE_APP_DISABLE_ACCOUNT_CREATION=${{ vars.DISABLE_ACCOUNT_CREATION == 'True' && 'true' || 'false' }}
VITE_APP_GOOGLE_OAUTH_ENABLED=${{ secrets.OAUTH_GOOGLE_CLIENT && 'true' || 'false' }}
VITE_APP_ORCID_OAUTH_ENABLED=${{ secrets.OAUTH_ORCID_CLIENT && 'true' || 'false' }}
VITE_APP_HYDROSHARE_OAUTH_ENABLED=${{ secrets.OAUTH_HYDROSHARE_CLIENT && 'true' || 'false' }}
- name: Build Frontend
working-directory: ./frontend
Expand Down

0 comments on commit 94128ce

Please sign in to comment.