From a642be475aa5885f691919827f4aa976c47d9aaf Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Tue, 6 Aug 2019 15:11:21 +0200 Subject: ci(deploy): push compiled provider as an artifact to Github releases --- .travis.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) 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 -- cgit v1.2.3