Skip to content

Commit

Permalink
update circle workflow to include azure deployer (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmagar authored May 20, 2024
1 parent c9003bf commit 9a6801d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
bash .circleci/generate_mobile_android_config.sh
elif [ "$BUILD_TYPE" == "gcp" ]; then
bash backend/.circleci/generate_gcp_config.sh "backend/"
elif [ "$BUILD_TYPE" == "azure" ]; then
bash backend/.circleci/generate_azure_config.sh "backend/"
fi
if [ "$BUILD_TYPE" == "gcp" ]; then
if [ "$BUILD_TYPE" == "gcp" ] || [ "$BUILD_TYPE" == "azure" ]; then
echo '{}' > /home/circleci/parameters.json
else
echo '{ "mobile_lane": "'$MOBILE_LANE'" }' > /home/circleci/parameters.json
Expand Down
4 changes: 3 additions & 1 deletion scaffold/template/custom/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
bash .circleci/generate_mobile_android_config.sh
elif [ "$BUILD_TYPE" == "gcp" ]; then
bash backend/.circleci/generate_gcp_config.sh "backend/"
elif [ "$BUILD_TYPE" == "azure" ]; then
bash backend/.circleci/generate_azure_config.sh "backend/"
fi
if [ "$BUILD_TYPE" == "gcp" ]; then
if [ "$BUILD_TYPE" == "gcp" ] || [ "$BUILD_TYPE" == "azure" ]; then
echo '{}' > /home/circleci/parameters.json
else
echo '{ "mobile_lane": "'$MOBILE_LANE'" }' > /home/circleci/parameters.json
Expand Down

0 comments on commit 9a6801d

Please sign in to comment.