mirror of
https://github.com/thegeeklab/wp-ansible.git
synced 2024-11-24 22:50:39 +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",
|
"name": "pushrm",
|
||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
name: "pushrm",
|
"name": "pushrm",
|
||||||
image: "chko/docker-pushrm:1",
|
"image": "chko/docker-pushrm:1",
|
||||||
environment: {
|
"environment": {
|
||||||
DOCKER_PASS: {
|
"DOCKER_PASS": {
|
||||||
from_secret: "docker_password",
|
"from_secret": "docker_password",
|
||||||
},
|
},
|
||||||
DOCKER_USER: {
|
"DOCKER_USER": {
|
||||||
from_secret: "docker_username",
|
"from_secret": "docker_username",
|
||||||
},
|
},
|
||||||
PUSHRM_FILE: "README.md",
|
"PUSHRM_FILE": "README.md",
|
||||||
PUSHRM_SHORT: "Drone plugin to provision infrastructure with Ansible",
|
"PUSHRM_SHORT": "Drone plugin to provision infrastructure with Ansible",
|
||||||
PUSHRM_TARGET: owncloudci/%s" % (ctx.repo.name),
|
"PUSHRM_TARGET": "owncloudci/%s" % (ctx.repo.name),
|
||||||
},
|
|
||||||
when: {
|
|
||||||
status: ["success"],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -238,6 +235,7 @@ def pushrm(ctx):
|
|||||||
"ref": [
|
"ref": [
|
||||||
"refs/tags/**",
|
"refs/tags/**",
|
||||||
],
|
],
|
||||||
|
"status": ["success"],
|
||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user