ekster/.drone.yml

25 lines
654 B
YAML
Raw Normal View History

2018-02-16 21:13:01 +00:00
pipeline:
publish:
image: plugins/docker
repo: registry.stuifzandapp.com/microsub-server
registry: registry.stuifzandapp.com
secrets: [ docker_username, docker_password ]
2018-02-16 22:11:37 +00:00
deploy:
image: appleboy/drone-ssh
host: microsub.stuifzandapp.com
2018-02-19 19:40:08 +00:00
username: microsub
2018-02-16 22:11:37 +00:00
secrets: ['ssh_key']
script:
2018-02-19 19:40:08 +00:00
- cd /home/microsub/microsub
2018-02-16 22:11:37 +00:00
- docker-compose pull web
- docker-compose up -d
2019-01-12 15:42:29 +00:00
notify:
image: plugins/webhook
settings:
2019-01-12 15:55:31 +00:00
debug: true
secrets:
2019-01-16 11:08:58 +00:00
- source: result_webhook
2019-01-12 16:28:23 +00:00
target: plugin_urls