diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 417a1afc..232c451d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -147,6 +147,17 @@ definitions: - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-preprod.git HEAD:master - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dha-preprod.git HEAD:master - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dhf-preprod.git HEAD:master + - &deploy-preprod-parallel + - parallel: + - steps: + - step: + - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-preprod.git HEAD:master + - step: + - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-preprod.git HEAD:master + - step: + - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dha-preprod.git HEAD:master + - step: + - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dhf-preprod.git HEAD:master - &deploy-prod-manual name: deploy to prod environments on heroku trigger: manual @@ -224,3 +235,12 @@ pipelines: - step: *frontend-test-parallel - step: *frontend-test-parallel - step: *frontend-test-parallel + + preprod-parallel: + - step: + name: "First step has to be manual" + trigger: manual + script: + - echo "This is for testing"; + - *deploy-preprod-parallel +