Skip to content

Commit

Permalink
Deploy devel build of docs to https://nim-lang.github.io/Nim
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Sep 18, 2018
1 parent 97fefa3 commit 308710c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ os:
- osx
dist: trusty


matrix:
allow_failures:
- os: osx
Expand Down Expand Up @@ -52,3 +51,16 @@ script:
- ./koch nimsuggest
- nim c -r nimsuggest/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

0 comments on commit 308710c

Please sign in to comment.