diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 979785c..e401ee0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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