1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

style: new deploy

This commit is contained in:
Carlos Alexandro Becker 2018-02-18 16:40:41 -03:00
parent 4139509f43
commit d4c962dd7a
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -18,10 +18,9 @@ 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
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
repo: goreleaser/goreleaser.github.io
@ -29,5 +28,10 @@ deploy:
target_branch: master
on:
master: true
- provider: script
skip_cleanup: true
script: go run main.go
on:
tags: true
notifications:
email: false