From 9691e062b0ba315f843ca45418d3efcbeefb6c70 Mon Sep 17 00:00:00 2001 From: Mateusz Gajewski Date: Mon, 24 Jul 2017 17:41:42 +0200 Subject: [PATCH] Trigger deployment --- .travis.yml | 9 +++++++-- deploy.sh | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100755 deploy.sh diff --git a/.travis.yml b/.travis.yml index cdbfb3d..90ae990 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,10 @@ go: script: - go build . -after_success: - - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash +deploy: + skip_cleanup: true + provider: script + script: deploy.sh + on: + tags: true + all_branches: true diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..e167057 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,2 @@ +#!/bin/bash +test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash