mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
test with env file
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -28,10 +28,15 @@ jobs:
|
|||||||
- name: Install dependencies for website
|
- name: Install dependencies for website
|
||||||
run: npm install --prefix website
|
run: npm install --prefix website
|
||||||
|
|
||||||
|
- name: Create env file
|
||||||
|
run: |
|
||||||
|
touch website/.env
|
||||||
|
echo PUBLIC_MAPBOX_TOKEN=${{ secrets.PUBLIC_MAPBOX_TOKEN }} >> website/.env
|
||||||
|
cat website/.env
|
||||||
|
|
||||||
- name: Build website
|
- name: Build website
|
||||||
env:
|
env:
|
||||||
BASE_PATH: '/${{ github.event.repository.name }}'
|
BASE_PATH: '/${{ github.event.repository.name }}'
|
||||||
PUBLIC_MAPBOX_TOKEN: ${{ secrets.PUBLIC_MAPBOX_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
npm run build --prefix website
|
npm run build --prefix website
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user