diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 4b677eff..df5b58be 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -73,17 +73,6 @@ aliases: - npm install --prefix client - cd client - npm run test:unit -- &deploy-prod - name: deploy to prod on Heroku - deployment: prod - script: - - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master -- &deploy-prod-manual - name: deploy to prod on Heroku - deployment: prod - trigger: manual - script: - - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master - &deploy-dev name: deploy to dev on Heroku deployment: dev @@ -106,6 +95,12 @@ aliases: deployment: stage script: - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-stage.git develop:master +- &deploy-prod-manual + name: deploy to prod on Heroku + deployment: prod + trigger: manual + script: + - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master pipelines: default: @@ -141,7 +136,6 @@ pipelines: - step: *jest-test - parallel: - step: *deploy-prod-manual - - step: *deploy-academy-manual custom: prod: @@ -151,4 +145,3 @@ pipelines: - step: *jest-test - parallel: - step: *deploy-prod-manual - - step: *deploy-academy-manual