Skip to content

Commit

Permalink
chore: Github Action to mount Google Maps API key via Github Secrets (#…
Browse files Browse the repository at this point in the history
…137)

* chore: Change mounts api key via github actions once it is added as a secret.

* added maps ID to deployment values
  • Loading branch information
Yukthiw authored Nov 28, 2024
1 parent d478aa1 commit 33df24f
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 @@ -4,7 +4,7 @@ on:
branches:
- main
- staging

permissions:
contents: read
pages: write
Expand All @@ -27,7 +27,9 @@ jobs:
- run: npm ci
- run: npm run build
env:
BASE_URL: "/ePlant"
BASE_URL: '/ePlant'
VITE_MAPS_API_KEY: ${{ secrets.VITE_MAPS_API_KEY }}
VITE_MAPS_API_KEY: ${{ secrets.VITE_MAPS_ID }}
- run: mv dist _site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit 33df24f

Please sign in to comment.