Skip to content

Commit

Permalink
avniproject/avni-product#1445 | Fix Deploy to RWB CircleCI config. Ma…
Browse files Browse the repository at this point in the history
…ke tasks to deploy translations.
  • Loading branch information
1t5j0y committed Jan 16, 2024
1 parent 6987baa commit e4669e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ jobs:
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::730335671779:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-00b50ac6e8413fdca"
availability-zone: "ap-south-1b"
Expand All @@ -256,6 +257,7 @@ jobs:
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::730335671779:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-015a3839bfe137346"
availability-zone: "ap-south-1a"
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ deploy_platform_translations_production: deploy_platform_translations_live

deploy_platform_translations_prerelease:
make deploy_platform_translations poolId=$(OPENCHS_PRERELEASE_USER_POOL_ID) clientId=$(OPENCHS_PRERELEASE_APP_CLIENT_ID) server=https://prerelease.avniproject.org port=443 username=admin password=$(OPENCHS_PRERELEASE_ADMIN_PASSWORD)
deploy_platform_translations_rwb_staging:
make deploy_platform_translations poolId=$(RWB_STAGING_USER_POOL_ID) clientId=$(RWB_STAGING_APP_CLIENT_ID) server=https://staging.rwb.avniproject.org port=443 username=admin password=$(RWB_STAGING_ADMIN_PASSWORD)
deploy_platform_translations_rwb_prod:
make deploy_platform_translations poolId=$(RWB_PROD_USER_POOL_ID) clientId=$(RWB_PROD_APP_CLIENT_ID) server=https://app.rwb.avniproject.org port=443 username=admin password=$(RWB_PROD_ADMIN_PASSWORD)

deploy_static_local:
-rm -rf ../avni-server/static
Expand Down

0 comments on commit e4669e1

Please sign in to comment.