Skip to content

Commit

Permalink
Trigger 25
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Apr 26, 2024
1 parent aab9173 commit 94765d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/re_use_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
id: set-env-var
run: |
if [ "${{ inputs.environment }}" == "dev" ]; then
echo "ACCOUNT_NUMBER=${{ secrets.DEV_ACCOUNT_NUMBER }}" >> $GITHUB_OUTPUT
echo "ACCOUNT_NUMBER=058264511034" >> $GITHUB_OUTPUT
echo "APP_NAME=${{ inputs.core_app }}-dev" >> $GITHUB_OUTPUT
elif [ "${{ inputs.environment }}" == "staging" ]; then
echo "ACCOUNT_NUMBER=${{ secrets.STAGING_ACCOUNT_NUMBER }}" >> $GITHUB_OUTPUT
echo "ACCOUNT_NUMBER=070528468658" >> $GITHUB_OUTPUT
echo "APP_NAME=${{ inputs.core_app }}-staging" >> $GITHUB_OUTPUT
elif [ "${{ inputs.environment }}" == "prod" ]; then
echo "ACCOUNT_NUMBER=${{ secrets.PROD_ACCOUNT_NUMBER }}" >> $GITHUB_OUTPUT
echo "ACCOUNT_NUMBER=042947190491" >> $GITHUB_OUTPUT
echo "APP_NAME=${{ inputs.core_app }}" >> $GITHUB_OUTPUT
fi
- name: Debug output
Expand All @@ -44,5 +44,5 @@ jobs:
aws_region: eu-west-1
environment: ${{ inputs.environment }}
cluster_name: frontend-${{ inputs.environment }}-ecs-cluster
secrets:
account_number: "${{ needs.set-env-variable.outputs.ACCOUNT_NUMBER }}"
secrets: inherit

0 comments on commit 94765d5

Please sign in to comment.