Skip to content

Commit

Permalink
Test workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Apr 26, 2024
1 parent 7d27c63 commit e0e72fb
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/re_use_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
ACCOUNT_NUMBER: ${{ steps.set-env-var.outputs.ACCOUNT_NUMBER }}
APP_NAME: ${{ steps.set-env-var.outputs.APP_NAME }}
steps:
- name: Set Environment Variable
id: set-env-var
run: |
- name: Set Environment Variable
id: set-env-var
run: |
echo "Debug: ${{ secrets.DEV_ACCOUNT_NUMBER }}"
echo "Env: ${{ inputs.environment }}"
if [ "${{ inputs.environment }}" == "dev" ]; then
Expand All @@ -34,14 +34,19 @@ jobs:
echo "ACCOUNT_NUMBER=${{ secrets.PROD_ACCOUNT_NUMBER }}" >> $GITHUB_OUTPUT
echo "APP_NAME=${{ inputs.core_app }}" >> $GITHUB_OUTPUT
fi
- name: Debug info
run: |
echo "ACCOUNT_NUMBER: ${{ steps.set-env-var.outputs.ACCOUNT_NUMBER }}"
echo "APP_NAME: ${{ steps.set-env-var.outputs.APP_NAME }}"
debug_step:
runs-on: ubuntu-latest
needs: set-env-variable
steps:
- name: Debug info
run: |
echo ${{ needs.set-env-variable.outputs.ACCOUNT_NUMBER }}
- name: Debug info
run: |
echo "ACCOUNT_NUMBER: ${{ needs.set-env-variable.outputs.ACCOUNT_NUMBER }}"
echo "APP_NAME: ${{ needs.set-env-variable.outputs.APP_NAME }}"
# deploy:
# uses: 0xPolygon/pipelines/.github/workflows/ecs_deploy_docker_taskdef.yaml@DEVOPS-2759-repo-public-update
Expand Down

0 comments on commit e0e72fb

Please sign in to comment.