mirror of
https://github.com/thegeeklab/wp-ansible.git
synced 2024-11-28 18:10:35 +00:00
fix ci syntax
This commit is contained in:
parent
07f07027c5
commit
e5389e8955
24
.drone.star
24
.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"],
|
||||
},
|
||||
}]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user