fix: fix drone workspace
This commit is contained in:
parent
6f651a91d2
commit
7007f52007
@ -1,6 +1,6 @@
|
|||||||
workspace:
|
workspace:
|
||||||
base: /go
|
base: /go/src
|
||||||
path: src/github.com/appleboy/drone-telegram
|
path: github.com/appleboy/drone-telegram
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
git:
|
git:
|
||||||
@ -12,8 +12,6 @@ pipeline:
|
|||||||
test:
|
test:
|
||||||
image: appleboy/golang-testing
|
image: appleboy/golang-testing
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
|
||||||
TAGS: netgo
|
|
||||||
secrets: [ codecov_token, telegram_token, telegram_to ]
|
secrets: [ codecov_token, telegram_token, telegram_to ]
|
||||||
commands:
|
commands:
|
||||||
- make vet
|
- make vet
|
||||||
@ -35,7 +33,6 @@ pipeline:
|
|||||||
- make release
|
- make release
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
branch: [ refs/tags/* ]
|
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -44,7 +41,6 @@ pipeline:
|
|||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
branch: [ refs/tags/* ]
|
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -62,7 +58,6 @@ pipeline:
|
|||||||
- dist/release/*
|
- dist/release/*
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
branch: [ refs/tags/* ]
|
|
||||||
|
|
||||||
facebook:
|
facebook:
|
||||||
image: appleboy/drone-facebook
|
image: appleboy/drone-facebook
|
||||||
|
Loading…
Reference in New Issue
Block a user