Skip to content
Snippets Groups Projects
Commit e17375f9 authored by FarawayVision's avatar FarawayVision
Browse files

Make sure service_worker.js gets served via Pages

parent bc8ecf8b
No related branches found
No related tags found
No related merge requests found
pages:
stage: deploy
script:
# Evidently it's faster to copy everything and delete what we don't need
# Evidently it's faster to copy everything and delete what we don't need
# than it is to just copy what we need...
- mkdir .public
- cp -r css fonts img js player opponents index.html config.xml .public
- cp -r css fonts img js player opponents index.html config.xml service_worker.js .public
- find .public/opponents -type f ! \( -iname "*.png" -o -iname "*.gif" -o -iname "*.jpg" -o -iname "*.xml" \) -delete
- mv .public public
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment