Fix deployment base path

1716-add-frontend-tests-again
Kasper Seweryn 2022-02-27 23:20:03 +01:00
rodzic 112ef174fc
commit d5cff4f3bf
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B2BA6FA597595C00
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -256,7 +256,7 @@ build_front:
- yarn run i18n-compile
# this is to ensure we don't have any errors in the output,
# 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
artifacts:
name: "front_${CI_COMMIT_REF_NAME}"

Wyświetl plik

@ -7,6 +7,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"build:deployment": "vite build --base /front",
"serve": "vite preview",
"test:unit": "true",
"lint": "eslint --ext .js,.vue src",