Add webhook and deploy to .drone.yml
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2019-02-05 21:43:28 +01:00
parent 553c45cf4f
commit d83dca2424

View File

@ -5,20 +5,20 @@ pipeline:
registry: registry.stuifzandapp.com
secrets: [ docker_username, docker_password ]
# deploy:
# image: appleboy/drone-ssh
# host: wiki.p83.nl
# username: microsub
# secrets: ['ssh_key']
# script:
# - cd /home/microsub/microsub
# - docker-compose pull web
# - docker-compose up -d
deploy:
image: appleboy/drone-ssh
host: wiki.p83.nl
username: wiki
secrets: ['ssh_key']
script:
- cd /home/wiki/wiki
- docker-compose pull web
- docker-compose up -d
# notify:
# image: plugins/webhook
# settings:
# debug: true
# secrets:
# - source: result_webhook
# target: plugin_urls
notify:
image: plugins/webhook
settings:
debug: true
secrets:
- source: result_webhook
target: plugin_urls