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 registry: registry.stuifzandapp.com
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
# deploy: deploy:
# image: appleboy/drone-ssh image: appleboy/drone-ssh
# host: wiki.p83.nl host: wiki.p83.nl
# username: microsub username: wiki
# secrets: ['ssh_key'] secrets: ['ssh_key']
# script: script:
# - cd /home/microsub/microsub - cd /home/wiki/wiki
# - docker-compose pull web - docker-compose pull web
# - docker-compose up -d - docker-compose up -d
# notify: notify:
# image: plugins/webhook image: plugins/webhook
# settings: settings:
# debug: true debug: true
# secrets: secrets:
# - source: result_webhook - source: result_webhook
# target: plugin_urls target: plugin_urls