Fix deployment base path
This commit is contained in:
parent
112ef174fc
commit
d5cff4f3bf
|
@ -256,7 +256,7 @@ build_front:
|
||||||
- yarn run i18n-compile
|
- yarn run i18n-compile
|
||||||
# this is to ensure we don't have any errors in the output,
|
# this is to ensure we don't have any errors in the output,
|
||||||
# cf https://dev.funkwhale.audio/funkwhale/funkwhale/issues/169
|
# cf https://dev.funkwhale.audio/funkwhale/funkwhale/issues/169
|
||||||
- yarn build | tee /dev/stderr | (! grep -i 'ERROR in')
|
- yarn run build:deployment | tee /dev/stderr | (! grep -i 'ERROR in')
|
||||||
- chmod -R 755 dist
|
- chmod -R 755 dist
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "front_${CI_COMMIT_REF_NAME}"
|
name: "front_${CI_COMMIT_REF_NAME}"
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
"build:deployment": "vite build --base /front",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"test:unit": "true",
|
"test:unit": "true",
|
||||||
"lint": "eslint --ext .js,.vue src",
|
"lint": "eslint --ext .js,.vue src",
|
||||||
|
|
Loading…
Reference in New Issue