👷 — Modify <base> tag in build’s index.html

This commit is contained in:
Luc Didry 2020-06-04 14:00:08 +02:00
parent 96354f6202
commit da854454aa
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C

View File

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