From: Paul Bonaud Date: Tue, 6 Aug 2019 13:11:21 +0000 (+0200) Subject: ci(deploy): push compiled provider as an artifact to Github releases X-Git-Tag: v0.1.0^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=a642be475aa5885f691919827f4aa976c47d9aaf;p=github%2Ffretlink%2Fterraform-provider-mailgun.git ci(deploy): push compiled provider as an artifact to Github releases --- diff --git a/.travis.yml b/.travis.yml index 9757a89..d8f4149 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,14 +24,20 @@ script: - make website-githubpages deploy: - provider: pages - skip_cleanup: true - github_token: "$GITHUB_TOKEN" - target_branch: gh-pages - keep_history: true - local_dir: terraform-provider-website - on: - branch: master + - provider: pages + skip_cleanup: true + github_token: "$GITHUB_TOKEN" + target_branch: gh-pages + keep_history: true + local_dir: terraform-provider-website + on: + branch: master + - provider: releases + api_key: "$GITHUB_TOKEN" + file: "terraform-provider-mailgun-$TRAVIS_TAG-linux_amd64" + skip_cleanup: true + on: + tags: true matrix: fast_finish: true