Merge pull request #8992 from kaushalmodi/deploy-nightly-docs

Deploy devel build of docs to https://nim-lang.github.io/Nim
This commit is contained in:
Andreas Rumpf 2018-09-19 13:08:24 +02:00 • committed by GitHub
commit d6c7787e8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@ os:
- osx - osx
dist: trusty dist: trusty
matrix: matrix:
allow_failures: allow_failures:
- os: osx - os: osx
@ -54,3 +53,16 @@ script:
- ./koch nimsuggest - ./koch nimsuggest
- nim c -r nimsuggest/tester - nim c -r nimsuggest/tester
- nim c -r nimdoc/tester - nim c -r nimdoc/tester
before_deploy:
# Make https://nim-lang.github.io/Nim work the same as https://nim-lang.github.io/Nim/overview.html
- cp -f ./doc/html/overview.html ./doc/html/index.html
deploy:
provider: pages
# local-dir *has* to be a relative path from the repo root.
local-dir: "doc/html"
skip-cleanup: true
github-token: "$GITHUB_OAUTH_TOKEN"
keep-history: false
on:
branch: devel