Skip to content

Commit bb79d99

Browse files
fix(ci): build with GitHub Pages base URL
1 parent 051c8e6 commit bb79d99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1515
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1616
concurrency:
17-
group: "pages"
17+
group: 'pages'
1818
cancel-in-progress: true
1919

2020
jobs:
@@ -38,7 +38,7 @@ jobs:
3838
run: echo "${{ secrets.VITE_ENV }}" | base64 -d > .env
3939

4040
- name: Build
41-
run: npm run build
41+
run: npx vite build --base=/ballotcure/
4242

4343
- name: Upload artifact
4444
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)