From d83dca24243bd7648cc113256b08c7bbecffde78 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Tue, 5 Feb 2019 21:43:28 +0100 Subject: [PATCH] Add webhook and deploy to .drone.yml --- .drone.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index d58b5e7..ca6cadd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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