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