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/index.html
|
||||
/static/index.html.gz
|
||||
/static/404.html
|
||||
/static/404.html.gz
|
||||
/static/manifest.json
|
||||
/static/manifest.json.gz
|
||||
/static/report.html
|
||||
|
@ -22,3 +24,4 @@ yarn-error.log*
|
|||
!/static/instance/**.example.*
|
||||
!/static/instance/**.example/**
|
||||
/static-test
|
||||
/public
|
||||
|
|
|
@ -66,6 +66,7 @@ pages:
|
|||
script:
|
||||
- yarn build
|
||||
- mv static public
|
||||
- cp public/{index.html,404.html}
|
||||
variables:
|
||||
NODE_ENV: production
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in a new issue