diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index f5d41b2..c4bb960 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -89,7 +89,12 @@ definitions: - npm install -g snyk # Run Snyk monitor and skip all provided dependencies - snyk monitor . -- -Dscope=runtime - + - step: &pushToGithub + name: Push changes to Github repo + script: + - git remote add github git@github.com:atlassian-labs/msteams-jira-server-addon.git + - git push -u github ${BITBUCKET_BRANCH} + - git push github --follow-tags pipelines: default: - step: @@ -121,4 +126,22 @@ pipelines: - step: <<: *buildAndPack name: Build production package - deployment: Production \ No newline at end of file + deployment: Production + release/*: + - step: + <<: *buildAndPack + name: Build integration package + deployment: Integration + - step: + <<: *buildAndPack + name: Build staging package + deployment: Staging + - step: + <<: *buildAndPack + name: Build production package + deployment: Production + - step: + <<: *createTag + trigger: manual + - step: + <<: *pushToGithub