👷 — Cleaner script for Gitlab page build

This commit is contained in:
Luc Didry 2020-06-04 16:04:24 +02:00
parent da854454aa
commit 645b25de79

View File

@ -13,8 +13,7 @@ pages:
stage: pages
script:
- yarn install --pure-lockfile
- npx ng build
- sed -e 's@<base href="/" />@<base href="/framadate/funky-framadate-front/" />@' -i dist/framadate/index.html
- npx ng build --base-href=/framadate/funky-framadate-front/
- mv dist/framadate/ public/
artifacts:
paths: