diff --git a/.drone.yml b/.drone.yml index d21c6a4..cd94a99 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,22 +1,22 @@ -# --- -# kind: pipeline -# name: deploy to swarm.autonomic.zone -# steps: -# - name: deployment -# image: decentral1se/drone-stack:19.03.8-override-compose -# settings: -# compose: docker-compose.yml -# host: tcp://swarm.autonomic.zone:2376 -# override_compose: docker-compose.production.yml -# stack_name: traefik -# tlsverify: true -# environment: -# PLUGIN_CACERT: -# from_secret: docker_cacert -# PLUGIN_CERT: -# from_secret: docker_cert -# PLUGIN_KEY: -# from_secret: docker_key -# trigger: -# branch: -# - master +--- +kind: pipeline +name: deploy to swarm.autonomic.zone +steps: + - name: deployment + image: decentral1se/drone-stack:19.03.8-override-compose + settings: + compose: docker-compose.yml + host: tcp://swarm.autonomic.zone:2376 + override_compose: docker-compose.production.yml + stack_name: traefik + tlsverify: true + environment: + PLUGIN_CACERT: + from_secret: docker_cacert + PLUGIN_CERT: + from_secret: docker_cert + PLUGIN_KEY: + from_secret: docker_key +trigger: + branch: + - master