diff --git a/.drone.yml b/.drone.yml index d6080c4e..03f63df0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -140,6 +140,18 @@ pipeline: secrets: [ docker_username, docker_password ] repo: vikunja/api auto_tag: true + when: + event: [ push, tag ] + branch: [ master ] + +# Update the instance on try.vikunja.io + rancher: + image: peloton/drone-rancher + url: http://server01.kolaente.de:8080/v1 + secrets: [ RANCHER_ACCESS_KEY, RANCHER_SECRET_KEY ] + service: vikunja-dev/api + docker_image: vikunja/api + confirm: true when: event: [ push, tag ] branch: [ master ] \ No newline at end of file