This commit is contained in:
parent
f3f5d30385
commit
495425ba7f
22
.drone.yml
22
.drone.yml
|
|
@ -1,10 +1,4 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
# build:
|
|
||||||
# image: golang
|
|
||||||
# commands:
|
|
||||||
# - go get p83.nl/go/ekster/...
|
|
||||||
# - go build p83.nl/go/ekster/cmd/eksterd
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: registry.stuifzandapp.com/microsub-server
|
repo: registry.stuifzandapp.com/microsub-server
|
||||||
|
|
@ -20,3 +14,19 @@ pipeline:
|
||||||
- cd /home/microsub/microsub
|
- cd /home/microsub/microsub
|
||||||
- docker-compose pull web
|
- docker-compose pull web
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
|
|
||||||
|
notify:
|
||||||
|
image: plugins/webhook
|
||||||
|
settings:
|
||||||
|
urls:
|
||||||
|
from_secret: success_webhook
|
||||||
|
when:
|
||||||
|
status: [success]
|
||||||
|
|
||||||
|
notify_failure:
|
||||||
|
image: plugins/webhook
|
||||||
|
settings:
|
||||||
|
urls:
|
||||||
|
from_secret: failure_webhook
|
||||||
|
when:
|
||||||
|
status: [failure]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user