update path building
All checks were successful
deploy / build-and-deploy (/testvaro, /opt/website-test, website-test) (push) Successful in 23s
deploy / build-and-deploy (/varo, /opt/website, website) (push) Successful in 22s

This commit is contained in:
2025-06-09 15:36:47 +02:00
parent 11b0ee4083
commit eb45e03f16
2 changed files with 5 additions and 1 deletions

View File

@ -10,8 +10,10 @@ jobs:
matrix:
include:
- dir: /opt/website
base_path: /varo
service: website
- dir: /opt/website-test
base_path: /testvaro
service: website-test
steps:
- name: Checkout
@ -29,6 +31,8 @@ jobs:
run: npm i
- name: Build website
env:
BASE_PATH: ${{ matrix.base_path }}
run: npm run build
- name: Deploy

View File

@ -14,7 +14,7 @@ import inoxToolsRuntimeLogger from '@inox-tools/runtime-logger';
export default defineConfig({
output: 'server',
prefetch: true,
base: '/varo',
base: process.env.BASE_PATH ?? undefined,
security: {
checkOrigin: false