Skip to content

Commit

Permalink
Merge pull request #443 from GNS-Science/feature/442_secrets_to_vars
Browse files Browse the repository at this point in the history
change secrets to vars;
  • Loading branch information
benjamineac authored Feb 27, 2024
2 parents 03f0e6c + b3fae64 commit 7aa98aa
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy_test_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,14 @@ jobs:
echo "VITE_GA_DEBUG_MODE=true" >> .env
cat .env
echo "Now add the secrets.."
echo "VITE_DISCLAIMER_VERSION=${{secrets.VITE_DISCLAIMER_VERSION}}" >> .env
echo "VITE_GRAPHQL_ENDPOINT=${{secrets.VITE_GRAPHQL_ENDPOINT}}" >> .env
echo "VITE_GRAPHQL_API_KEY=${{secrets.VITE_GRAPHQL_API_KEY}}" >> .env
echo "VITE_RESOLUTION=${{secrets.VITE_RESOLUTION}}" >> .env
echo "VITE_HAZARD_MODEL=${{secrets.VITE_HAZARD_MODEL}}" >> .env
echo "VITE_GRID_ID=${{secrets.VITE_GRID_ID}}" >> .env
echo "Now add the vars.."
echo "VITE_DISCLAIMER_VERSION=${{vars.VITE_DISCLAIMER_VERSION}}" >> .env
echo "VITE_GRAPHQL_ENDPOINT=${{vars.VITE_GRAPHQL_ENDPOINT}}" >> .env
echo "VITE_RESOLUTION=${{vars.VITE_RESOLUTION}}" >> .env
echo "VITE_HAZARD_MODEL=${{vars.VITE_HAZARD_MODEL}}" >> .env
echo "VITE_GRID_ID=${{vars.VITE_GRID_ID}}" >> .env
echo "VITE_RADII_ID=${{vars.VITE_RADII_ID}}" >> .env
echo
yarn build
Expand Down

0 comments on commit 7aa98aa

Please sign in to comment.