Skip to content

Commit a1b6dbb

Browse files
committed
Fix deployment CI (#237)
1 parent 88a6f57 commit a1b6dbb

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/deploy-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v6
2424
with:
25-
node-version: '24'
26-
cache: 'npm'
25+
node-version: "24"
26+
cache: "npm"
2727
cache-dependency-path: package-lock.json
2828

2929
- name: Install dependencies
@@ -33,7 +33,7 @@ jobs:
3333
run: npm test
3434

3535
- name: Build
36-
run: npm run build -- --base=./
36+
run: npm run build -- --base=/ftw-inference-app/dev/
3737
env:
3838
VITE_API_BASE_URL: ${{ secrets.VITE_API_BASE_URL }}
3939

.github/workflows/deploy-prod.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
tags:
6-
- 'v[0-9]*.[0-9]*.[0-9]*'
6+
- "v*"
77

88
concurrency:
99
group: deploy-gh-pages
@@ -22,8 +22,8 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v6
2424
with:
25-
node-version: '24'
26-
cache: 'npm'
25+
node-version: "24"
26+
cache: "npm"
2727
cache-dependency-path: package-lock.json
2828

2929
- name: Install dependencies
@@ -33,7 +33,7 @@ jobs:
3333
run: npm test
3434

3535
- name: Build
36-
run: npm run build -- --base=./
36+
run: npm run build -- --base=/ftw-inference-app/
3737
env:
3838
VITE_API_BASE_URL: ${{ secrets.VITE_API_BASE_URL }}
3939

0 commit comments

Comments
 (0)