update path building
This commit is contained in:
@ -10,8 +10,10 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- dir: /opt/website
|
- dir: /opt/website
|
||||||
|
base_path: /varo
|
||||||
service: website
|
service: website
|
||||||
- dir: /opt/website-test
|
- dir: /opt/website-test
|
||||||
|
base_path: /testvaro
|
||||||
service: website-test
|
service: website-test
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -29,6 +31,8 @@ jobs:
|
|||||||
run: npm i
|
run: npm i
|
||||||
|
|
||||||
- name: Build website
|
- name: Build website
|
||||||
|
env:
|
||||||
|
BASE_PATH: ${{ matrix.base_path }}
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
@ -14,7 +14,7 @@ import inoxToolsRuntimeLogger from '@inox-tools/runtime-logger';
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: 'server',
|
output: 'server',
|
||||||
prefetch: true,
|
prefetch: true,
|
||||||
base: '/varo',
|
base: process.env.BASE_PATH ?? undefined,
|
||||||
|
|
||||||
security: {
|
security: {
|
||||||
checkOrigin: false
|
checkOrigin: false
|
||||||
|
Reference in New Issue
Block a user