Skip to content

Commit

Permalink
Trying to deploy on GitHub Releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
negative0 committed Jul 25, 2019
1 parent 23c7a67 commit e94ed38
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 @@ -7,13 +7,20 @@ cache:
script:
- npm run test:cov
- npm run build
- zip -r currentbuild.zip build
after_script: # Upload coverage reports
- COVERALLS_REPO_TOKEN=$coveralls_repo_token npm run coveralls
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
local_dir: build
keep_history: true
on:
branch: master
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
local_dir: build
keep_history: true
on:
branch: master
- provider: releases
api_key: $GITHUB_TOKEN
file: currentbuild.zip
skip_cleanup: true
on:
tags: true

0 comments on commit e94ed38

Please sign in to comment.