GitLab CI: attempt to fix PWA routes

This commit is contained in:
Alex Gleason 2021-08-22 15:44:49 -05:00
parent 9e966532fe
commit 9c181e30a5
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View file

@ -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

View file

@ -66,6 +66,7 @@ pages:
script:
- yarn build
- mv static public
- cp public/{index.html,404.html}
variables:
NODE_ENV: production
artifacts: