Skip to content

Commit

Permalink
Add deploy step for gh pages in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Apr 30, 2020
1 parent 64208b9 commit ab3278f
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,17 @@ matrix:
- libxss1
script: *script-publish
deploy:
provider: releases
api_key: $GITHUB_TOKEN
name: Build $(date +'%d.%m.%Y %R')
file: $TRAVIS_BUILD_DIR/dist/tobanteAudio-JUCE-Cookbook.pdf
skip_cleanup: true
on:
all_branches: true
- provider: releases
api_key: $GITHUB_TOKEN
name: Build $(date +'%d.%m.%Y %R')
file: $TRAVIS_BUILD_DIR/dist/tobanteAudio-JUCE-Cookbook.pdf
skip_cleanup: true
on:
branch: master
- provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/dist/html
github_token: $GITHUB_TOKEN
keep_history: true
on:
branch: master

0 comments on commit ab3278f

Please sign in to comment.