From d4c962dd7aeda80d0e7dc0e46bf8bc262cceda8c Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 18 Feb 2018 16:40:41 -0300 Subject: [PATCH] style: new deploy --- .travis.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index be00b5db6..b33e0b734 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,16 +18,20 @@ script: after_success: - bash <(curl -s https://codecov.io/bash) - test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - - test -n "$TRAVIS_TAG" && go run main.go - make static deploy: - provider: pages - skip_cleanup: true - github_token: $GITHUB_TOKEN - repo: goreleaser/goreleaser.github.io - local_dir: ./dist/goreleaser.github.io - target_branch: master - on: - master: true + - provider: pages + skip_cleanup: true + github_token: $GITHUB_TOKEN + repo: goreleaser/goreleaser.github.io + local_dir: ./dist/goreleaser.github.io + target_branch: master + on: + master: true + - provider: script + skip_cleanup: true + script: go run main.go + on: + tags: true notifications: email: false