Skip to content

Commit

Permalink
avniproject/avni-product#1433 | Add NEW_PROD_deploy
Browse files Browse the repository at this point in the history
(cherry picked from commit d9351cb)
  • Loading branch information
1t5j0y authored and himeshr committed Nov 27, 2023
1 parent 8b2e7a1 commit 1a13aeb
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 @@ -247,6 +247,14 @@ jobs:
- deploy:
hostname: "ssh.perf.avniproject.org"

NEW_PROD_deploy:
docker:
- image: cimg/deploy:2023.09
working_directory: ~/
steps:
- deploy_as_service:
env: "prod"

PROD_deploy:
docker:
- image: circleci/openjdk:8-jdk
Expand Down Expand Up @@ -320,6 +328,14 @@ workflows:
context: prod-deploy
requires:
- PROD_approve
- NEW_PROD_approve:
type: approval
requires:
- build
- NEW_PROD_deploy:
context: prod-deploy
requires:
- NEW_PROD_approve
notify:
webhooks:
- url: https://webhooks.gitter.im/e/0fdffde721194986f2a0
Expand Down

0 comments on commit 1a13aeb

Please sign in to comment.