Skip to content

Commit 33df24f

Browse files
authored
chore: Github Action to mount Google Maps API key via Github Secrets (#137)
* chore: Change mounts api key via github actions once it is added as a secret. * added maps ID to deployment values
1 parent d478aa1 commit 33df24f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- main
66
- staging
7-
7+
88
permissions:
99
contents: read
1010
pages: write
@@ -27,7 +27,9 @@ jobs:
2727
- run: npm ci
2828
- run: npm run build
2929
env:
30-
BASE_URL: "/ePlant"
30+
BASE_URL: '/ePlant'
31+
VITE_MAPS_API_KEY: ${{ secrets.VITE_MAPS_API_KEY }}
32+
VITE_MAPS_API_KEY: ${{ secrets.VITE_MAPS_ID }}
3133
- run: mv dist _site
3234
- name: Upload artifact
3335
uses: actions/upload-pages-artifact@v2

0 commit comments

Comments
 (0)