diff --git a/.travis.yml b/.travis.yml index f07f8eccd..120173475 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file + - 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