From 7ce09b1e5aa5dba9e43ace4794fef708a1143318 Mon Sep 17 00:00:00 2001 From: Michael McGuinness Date: Mon, 23 Sep 2024 15:28:47 +0100 Subject: [PATCH] include --- bitbucket-pipelines.yml | 6 +++--- cicd/example.yml | 18 ++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index aa5e9c5..482e036 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -1,6 +1,6 @@ -pipelines: - default: - - include: cicd/example.yml +pipeline: + include: cicd/example.yml +# branches: # main: # - include: cicd/deployment.yml # name: deployment-dev diff --git a/cicd/example.yml b/cicd/example.yml index b64242c..d690216 100644 --- a/cicd/example.yml +++ b/cicd/example.yml @@ -1,10 +1,8 @@ -definitions: - pipelines: - main: - stage: - name: deployment - steps: - - step: - name: "Example" - script: - - echo "HEELOO" \ No newline at end of file +pipeline: + stage: + name: deployment + steps: + - step: + name: "Example" + script: + - echo "HEELOO" \ No newline at end of file