Skip to content

Commit 75fec85

Browse files
Refactor build command to use environment variables
1 parent e063cf3 commit 75fec85

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy-demo.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ jobs:
1212
node-version: 'lts/*'
1313
- uses: actions/checkout@v4
1414
- run: npm ci
15-
- run: npm run build -- --pathPrefix="/stac-browser" --historyMode=hash
15+
- run: npm run build
16+
env:
17+
SB_pathPrefix: "/stac-browser"
18+
SB_historyMode: "hash"
1619
- uses: peaceiris/actions-gh-pages@v3
1720
with:
1821
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)