image: java:8 before_script: - apt-get update -y - apt-get install apt-transport-https -y # Install SBT - echo "deb http://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823 - apt-get update -y - apt-get install sbt -y - sbt sbt-version pages: stage: deploy script: - sbt clean fullOptJS - rm public/main.js - cp target/scala-2.12/reading-opt.js public/main.js artifacts: paths: - public only: - master