File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
33on :
44 push :
55 tags :
6- - ' v[0-9]*.[0-9]*.[0-9]* '
6+ - " v* "
77
88concurrency :
99 group : deploy-gh-pages
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
3333 run : npm test
3434
3535 - name : Build
36- run : npm run build -- --base=./
36+ run : npm run build # /ftw-inference-app/ is the default base, so no need to specify it here
3737 env :
3838 VITE_API_BASE_URL : ${{ secrets.VITE_API_BASE_URL }}
3939
You can’t perform that action at this time.
0 commit comments