add starlark file
continuous-integration/drone/push Build encountered an error Details

master
dohodin 2 years ago
parent 5684a11820
commit c3a65c30e6

@ -1,5 +1,5 @@
def main(ctx):
return {
pipeline = {
"kind": "pipeline",
"type": "docker",
"name": "myFirstPipeline",
@ -144,3 +144,7 @@ def main(ctx):
]
}
if (ctx.build.branch == "master"):
return pipeline
else:
return {}

Loading…
Cancel
Save