Remove staging step from production pipeline

This commit is contained in:
Ramon Wenger 2021-02-24 17:56:07 +01:00
parent cd3bbf0651
commit 002d53c5c5
1 changed files with 6 additions and 13 deletions

View File

@ -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