Update .gitlab-ci.yml

This commit is contained in:
Luca Jäntsch
2019-06-06 09:24:06 +02:00
parent 411ffeed28
commit eace001c61

View File

@@ -24,7 +24,7 @@ pages:
- cp public/index.html public/404.html # Not necessary, but helps with https://medium.com/@pshrmn/demystifying-single-page-applications-3068d0555d46
- mv public _public # CRA and gitlab pages both use the public folder. Only do this in a build pipeline.
- mv build public # Move build files to public dir for Gitlab Pages
- lessc src_less/main.less /public/main.css
- lessc src_less/main.less public/main.css
artifacts:
paths:
- public # The built files for Gitlab Pages to serve