8ddf2bcdc1
Credit to http4s everywhere.
34 lines
769 B
YAML
34 lines
769 B
YAML
language: scala
|
|
|
|
install:
|
|
- rvm use 2.3.0 --install --fuzzy
|
|
- gem update --system
|
|
- gem install sass
|
|
- gem install jekyll -v 3.2.1
|
|
|
|
scala:
|
|
- 2.12.8
|
|
|
|
jobs:
|
|
include:
|
|
- stage: verify
|
|
|
|
script:
|
|
- sbt ++$TRAVIS_SCALA_VERSION todomvc/fullOptJS::webpack
|
|
- sbt docs/mdoc
|
|
- sbt docs/makeMicrosite
|
|
- mkdir -p router-docs/site/todomvc
|
|
- cp -R router-docs/target/site/* ./router-docs/site/
|
|
- cp ./router-docs/site/Readme.html ./router-docs/site/index.html
|
|
|
|
deploy:
|
|
provider: pages
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
|
keep-history: true
|
|
local-dir: router-docs/site
|
|
target-branch: gh-pages
|
|
on:
|
|
branch: master
|
|
|