Skip to content

Commit

Permalink
chore(ci): Ensure docs deployment only occurs on deploy stage (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec authored and kattrali committed Apr 5, 2018
1 parent 6413bd3 commit c372029
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ jobs:
rvm: 2.4.1
script: bundle exec rake rdoc
if: tag =~ ^v[1-9]

deploy:
provider: pages
local_dir: rdoc # only include the contents of the generated docs dir
skip_cleanup: true
github_token: $GITHUB_TOKEN # set in travis-ci dashboard
on:
tags: true # only deploy when tag is applied to commit
deploy:
provider: pages
local_dir: rdoc # only include the contents of the generated docs dir
skip_cleanup: true
github_token: $GITHUB_TOKEN # set in travis-ci dashboard
on:
tags: true # only deploy when tag is applied to commit

0 comments on commit c372029

Please sign in to comment.