re-add automatic deploy

This commit is contained in:
konrad 2019-01-14 23:53:53 +01:00
parent a791fe0fa7
commit 08e84f4e8d
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -206,50 +206,50 @@ steps:
when: when:
event: [ push ] event: [ push ]
branch: [ master ] branch: [ master ]
#
## Build the docker image and push it to docker hub # Build the docker image and push it to docker hub
# - name: docker - name: docker
# image: plugins/docker image: plugins/docker
# pull: true pull: true
# settings: settings:
# username: username:
# from_secret: docker_username from_secret: docker_username
# password: password:
# from_secret: docker_password from_secret: docker_password
# repo: vikunja/api repo: vikunja/api
# auto_tag: true auto_tag: true
#
## Update the instance on try.vikunja.io # Update the instance on try.vikunja.io
# - name: rancher - name: rancher
# image: peloton/drone-rancher image: peloton/drone-rancher
# settings: settings:
# url: http://server01.kolaente.de:8080/v1 url: http://server01.kolaente.de:8080/v1
# access_key: access_key:
# from_secret: RANCHER_ACCESS_KEY from_secret: RANCHER_ACCESS_KEY
# secret_key: secret_key:
# from_secret: RANCHER_SECRET_KEY from_secret: RANCHER_SECRET_KEY
# service: vikunja-dev/api service: vikunja-dev/api
# docker_image: vikunja/api docker_image: vikunja/api
# confirm: true confirm: true
# depends_on: [ docker ] depends_on: [ docker ]
#
## Tell people vikunja was updated # Tell people vikunja was updated
# - name: telegram - name: telegram
# image: appleboy/drone-telegram image: appleboy/drone-telegram
# settings: settings:
# token: token:
# from_secret: TELEGRAM_TOKEN from_secret: TELEGRAM_TOKEN
# to: to:
# from_secret: TELEGRAM_TO from_secret: TELEGRAM_TO
# message: > message: >
# {{repo.owner}}/{{repo.name}}: \[{{build.status}}] Build {{build.number}} {{repo.owner}}/{{repo.name}}: \[{{build.status}}] Build {{build.number}}
# {{commit.author}} pushed to {{commit.branch}} {{commit.sha}}: `{{commit.message}}` {{commit.author}} pushed to {{commit.branch}} {{commit.sha}}: `{{commit.message}}`
# Build started at {{datetime build.started "2006-Jan-02T15:04:05Z" "GMT+2"}} finished at {{datetime build.finished "2006-Jan-02T15:04:05Z" "GMT+2"}}. Build started at {{datetime build.started "2006-Jan-02T15:04:05Z" "GMT+2"}} finished at {{datetime build.finished "2006-Jan-02T15:04:05Z" "GMT+2"}}.
# depends_on: depends_on:
# - rancher - rancher
# - release-version - release-version
# - release-latest - release-latest
# when: when:
# status: status:
# - success - success
# - failure - failure