diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-08-06 15:11:21 +0200 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-08-06 15:11:21 +0200 |
commit | a642be475aa5885f691919827f4aa976c47d9aaf (patch) | |
tree | 0c5bf81d19568da09ad6d8aff9a6c81b1962bd0d | |
parent | 0dee8615733183d6d07624da38de5d9140464c82 (diff) | |
download | terraform-provider-mailgun-a642be475aa5885f691919827f4aa976c47d9aaf.tar.gz terraform-provider-mailgun-a642be475aa5885f691919827f4aa976c47d9aaf.tar.zst terraform-provider-mailgun-a642be475aa5885f691919827f4aa976c47d9aaf.zip |
ci(deploy): push compiled provider as an artifact to Github releases
-rw-r--r-- | .travis.yml | 22 |
1 files 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: | |||
24 | - make website-githubpages | 24 | - make website-githubpages |
25 | 25 | ||
26 | deploy: | 26 | deploy: |
27 | provider: pages | 27 | - provider: pages |
28 | skip_cleanup: true | 28 | skip_cleanup: true |
29 | github_token: "$GITHUB_TOKEN" | 29 | github_token: "$GITHUB_TOKEN" |
30 | target_branch: gh-pages | 30 | target_branch: gh-pages |
31 | keep_history: true | 31 | keep_history: true |
32 | local_dir: terraform-provider-website | 32 | local_dir: terraform-provider-website |
33 | on: | 33 | on: |
34 | branch: master | 34 | branch: master |
35 | - provider: releases | ||
36 | api_key: "$GITHUB_TOKEN" | ||
37 | file: "terraform-provider-mailgun-$TRAVIS_TAG-linux_amd64" | ||
38 | skip_cleanup: true | ||
39 | on: | ||
40 | tags: true | ||
35 | 41 | ||
36 | matrix: | 42 | matrix: |
37 | fast_finish: true | 43 | fast_finish: true |