diff options
-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 |