Add drone.yml
This commit is contained in:
parent
8c2bef754b
commit
05a0114efb
23
.drone.yml
Normal file
23
.drone.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: golang
|
||||
commands:
|
||||
- go get github.com/pstuifzand/websub-hub/cmd/hubserver
|
||||
- go build github.com/pstuifzand/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: publog.stuifzandapp.com
|
||||
# username: publog
|
||||
# secrets: ['ssh_key']
|
||||
# script:
|
||||
# - cd /home/publog/publog
|
||||
# - docker-compose pull
|
||||
# - docker-compose up -d
|
||||
# when:
|
||||
# event: deployment
|
||||
# environment: production
|
Loading…
Reference in New Issue
Block a user