aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJoris2017-01-31 10:18:33 +0100
committerJoris2017-01-31 10:18:33 +0100
commit5b5c04315c4923ba4ea871db0c5be6f071442b9d (patch)
treee0f26bec755a5e71a8fa2cf700f93285bbf700d2 /.gitlab-ci.yml
parentb5f2ced2c742a7df3c077bf0013f88c1607beef9 (diff)
downloadreading-5b5c04315c4923ba4ea871db0c5be6f071442b9d.tar.gz
reading-5b5c04315c4923ba4ea871db0c5be6f071442b9d.tar.bz2
reading-5b5c04315c4923ba4ea871db0c5be6f071442b9d.zip
Use public instead of src/resources
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 1 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 11a45d0..75fbd96 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,13 +14,8 @@ pages:
stage: deploy
script:
- sbt clean fullOptJS
- - mkdir -p public
- - cp target/scala-2.12/classes/index-prod.html public/index.html
- - cp target/scala-2.12/classes/reset.css public/reset.css
- - cp -r target/scala-2.12/classes/cover public/cover
- - cp target/scala-2.12/classes/icon.png public/icon.png
+ - rm public/main.js
- cp target/scala-2.12/reading-opt.js public/main.js
- - sed 's/src="[^"]*"/src="main.js"/' -i public/index.html
artifacts:
paths:
- public