From e5389e895561f79a023750a8bf52c0f3a870529a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 26 Jan 2021 14:08:18 +0100 Subject: [PATCH] fix ci syntax --- .drone.star | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.drone.star b/.drone.star index 073a2f4..18bf0a8 100644 --- a/.drone.star +++ b/.drone.star @@ -213,21 +213,18 @@ def pushrm(ctx): "name": "pushrm", "steps": [ { - name: "pushrm", - image: "chko/docker-pushrm:1", - environment: { - DOCKER_PASS: { - from_secret: "docker_password", + "name": "pushrm", + "image": "chko/docker-pushrm:1", + "environment": { + "DOCKER_PASS": { + "from_secret": "docker_password", }, - DOCKER_USER: { - from_secret: "docker_username", + "DOCKER_USER": { + "from_secret": "docker_username", }, - PUSHRM_FILE: "README.md", - PUSHRM_SHORT: "Drone plugin to provision infrastructure with Ansible", - PUSHRM_TARGET: owncloudci/%s" % (ctx.repo.name), - }, - when: { - status: ["success"], + "PUSHRM_FILE": "README.md", + "PUSHRM_SHORT": "Drone plugin to provision infrastructure with Ansible", + "PUSHRM_TARGET": "owncloudci/%s" % (ctx.repo.name), }, }, ], @@ -238,6 +235,7 @@ def pushrm(ctx): "ref": [ "refs/tags/**", ], + "status": ["success"], }, }]