From 5b5c04315c4923ba4ea871db0c5be6f071442b9d Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 31 Jan 2017 10:18:33 +0100 Subject: Use public instead of src/resources --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3