websub-hub/.drone.yml
Peter Stuifzand 2808530540
All checks were successful
the build was successful
Fix typo in .drone.yml
2018-08-05 18:03:55 +02:00

23 lines
617 B
YAML

pipeline:
build:
image: golang
commands:
- go get p83.nl/go/websub-hub/cmd/hubserver
- go build p83.nl/go/websub-hub/cmd/hubserver
publish:
image: plugins/docker
repo: registry.stuifzandapp.com/websub-hub
registry: registry.stuifzandapp.com
secrets: [ docker_username, docker_password ]
deploy:
image: appleboy/drone-ssh
host: hub.stuifzandapp.com
username: hub
secrets: ['ssh_key']
script:
- cd /home/hub/hub
- docker-compose pull
- docker-compose up -d