Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
charlieforward9 committed Jul 4, 2024
1 parent a12f67b commit 5edd3fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:

- name: Save environment variables
# Save the variables into the .env file
run: echo "VITE_MAP_KEY=${{ env.VITE_MAP_KEY }}" >> .env
run: echo "VITE_MAP_KEY=${{ env.VITE_MAP_KEY }}" >> .env.prod
echo "VITE_MAP_KEY=${{ env.VITE_MAP_KEY }}" >> .env

- name: Test environment variables
# Test if the variables were being stored
run: cat .env
run: cat .env.prod
cat .env

- name: Build project
run: npm run build
Expand Down

0 comments on commit 5edd3fd

Please sign in to comment.