Skip to content

Commit

Permalink
avniproject/avni-product#1433 | STAGING_deploy deploys to new staging…
Browse files Browse the repository at this point in the history
… server

(cherry picked from commit 612f29d)
  • Loading branch information
1t5j0y authored and himeshr committed Nov 27, 2023
1 parent a837ce1 commit 1cbd05a
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,15 @@ jobs:
docker buildx build --platform linux/amd64,linux/arm64 --tag "$DOCKER_USERNAME/avni-server:${SHORT_CIRCLE_SHA}" --push -f Dockerfile .
fi
STAGING_deploy:
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/
steps:
- deploy:
hostname: "ssh.staging.openchs.org"
# STAGING_deploy:
# docker:
# - image: circleci/openjdk:8-jdk
# working_directory: ~/
# steps:
# - deploy:
# hostname: "ssh.staging.openchs.org"

NEW_STAGING_deploy:
STAGING_deploy:
docker:
- image: cimg/deploy:2023.09
working_directory: ~/
Expand Down Expand Up @@ -288,14 +288,14 @@ workflows:
context: non-prod-deploy
requires:
- STAGING_approve
- NEW_STAGING_approve:
type: approval
requires:
- build
- NEW_STAGING_deploy:
context: non-prod-deploy
requires:
- NEW_STAGING_approve
# - NEW_STAGING_approve:
# type: approval
# requires:
# - build
# - NEW_STAGING_deploy:
# context: non-prod-deploy
# requires:
# - NEW_STAGING_approve
- UAT_approve:
type: approval
requires:
Expand Down

0 comments on commit 1cbd05a

Please sign in to comment.