GitLab CI: attempt to fix PWA routes
This commit is contained in:
parent
9e966532fe
commit
9c181e30a5
2 changed files with 4 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -13,6 +13,8 @@ yarn-error.log*
|
||||||
/static/emoji
|
/static/emoji
|
||||||
/static/index.html
|
/static/index.html
|
||||||
/static/index.html.gz
|
/static/index.html.gz
|
||||||
|
/static/404.html
|
||||||
|
/static/404.html.gz
|
||||||
/static/manifest.json
|
/static/manifest.json
|
||||||
/static/manifest.json.gz
|
/static/manifest.json.gz
|
||||||
/static/report.html
|
/static/report.html
|
||||||
|
@ -22,3 +24,4 @@ yarn-error.log*
|
||||||
!/static/instance/**.example.*
|
!/static/instance/**.example.*
|
||||||
!/static/instance/**.example/**
|
!/static/instance/**.example/**
|
||||||
/static-test
|
/static-test
|
||||||
|
/public
|
||||||
|
|
|
@ -66,6 +66,7 @@ pages:
|
||||||
script:
|
script:
|
||||||
- yarn build
|
- yarn build
|
||||||
- mv static public
|
- mv static public
|
||||||
|
- cp public/{index.html,404.html}
|
||||||
variables:
|
variables:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue