Skip to content

Commit

Permalink
deployment to US and Europe simultaneously
Browse files Browse the repository at this point in the history
  • Loading branch information
robgutsopedra committed May 7, 2024
1 parent 0c876df commit 1af6f12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
cat "deployment_envs/dev.env" > $HOME/eu-envfile.env
cat "deployment_envs/region/$REGION/dev.env" > $HOME/$REGION-envfile.env
fi
if [[ -f "deployment_envs/common.env" ]]; then
if [[ -f "deployment_envs/common.env" || -f "deployment_envs/region/$REGION/common.env" ]]; then
echo "Please delete deployment_envs/common.env or deployment_envs/region/$REGION/common.env" >> $GITHUB_STEP_SUMMARY
fi
fi
Expand Down Expand Up @@ -265,8 +265,7 @@ jobs:
JSON_CONTENT=$(echo "${{ env.FILTERED_CHANGELOG_CONTENT }}" | sed 's/$/\\n/' | tr -d '\n')
echo "changelog_json=$JSON_CONTENT" >> $GITHUB_OUTPUT
- name: Update the Image tags and env files for Selected Environment in europe region
if: ${{ env.REGION == 'europe' }}
- name: Update the Image tags and env files for Selected Environment
run: |-
if [[ $APP_NAMES == *","* ]]; then
IFS=',' read -r -a array_app_names <<< "$APP_NAMES"
Expand Down

0 comments on commit 1af6f12

Please sign in to comment.