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

master
dohodin 2 years ago
parent 83be4818db
commit 982ae21968

@ -1,9 +1,7 @@
def main(ctx):
pipeline = {
"kind": "pipeline",
"type": "docker",
"name": "myFirstPipeline",
"steps": [
{
"name": "build",
@ -142,7 +140,6 @@ def main(ctx):
"depends_on": "[deploy-app]"
}
]
}
if ctx.build.branch == "master":
return pipeline

Loading…
Cancel
Save