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
  • Loading branch information
1t5j0y committed Nov 16, 2023
1 parent bcea85d commit c5bbc14
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ jobs:
docker buildx build --platform linux/amd64,linux/arm64 --tag "$DOCKER_USERNAME/rules-server:${SHORT_CIRCLE_SHA}" --push -f Dockerfile .
fi
# STAGING_deploy:
# docker:
# - image: cimg/node:10.24.1
# working_directory: ~/
# steps:
# - deploy:
# hostname: "ssh.staging.openchs.org"
STAGING_deploy:
docker:
- image: cimg/node:10.24.1
working_directory: ~/
steps:
- deploy:
hostname: "ssh.staging.openchs.org"
NEW_STAGING_deploy:
docker:
- image: cimg/deploy:2023.09-node
working_directory: ~/
Expand Down Expand Up @@ -237,6 +237,10 @@ workflows:
only: /.*/
branches:
only: master
- STAGING_approve:
type: approval
requires:
- app_build
- STAGING_deploy:
context: non-prod-deploy
filters:
Expand All @@ -245,15 +249,15 @@ workflows:
- master
- /^3\..*/
requires:
- app_build
- NEW_STAGING_approve:
type: approval
requires:
- app_build
- NEW_STAGING_deploy:
context: non-prod-deploy
requires:
- NEW_STAGING_approve
- STAGING_approve
# - NEW_STAGING_approve:
# type: approval
# requires:
# - app_build
# - NEW_STAGING_deploy:
# context: non-prod-deploy
# requires:
# - NEW_STAGING_approve
- PRODUCTION_approve:
type: approval
requires:
Expand Down

0 comments on commit c5bbc14

Please sign in to comment.