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:
parent
4139509f43
commit
d4c962dd7a
22
.travis.yml
22
.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
|
||||
|
Loading…
x
Reference in New Issue
Block a user