Skip to content

Commit

Permalink
avniproject/avni-product#1433 | Add NEW_PROD_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
1t5j0y committed Nov 21, 2023
1 parent 131e735 commit ccea3de
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,14 @@ jobs:
- deploy:
hostname: "ssh.perf.avniproject.org"

NEW_PRODUCTION_deploy:
docker:
- image: cimg/deploy:2023.09-node
working_directory: ~/
steps:
- deploy_ansible:
env: "prod"

PRODUCTION_deploy:
docker:
- image: cimg/node:20.2.0
Expand Down Expand Up @@ -288,6 +296,14 @@ workflows:
context: prod-deploy
requires:
- PRODUCTION_approve
- NEW_PRODUCTION_approve:
type: approval
requires:
- app_build
- NEW_PRODUCTION_deploy:
context: prod-deploy
requires:
- NEW_PRODUCTION_approve

notify:
webhooks:
Expand Down

0 comments on commit ccea3de

Please sign in to comment.