diff --git a/.github/workflows/re_use_workflow.yml b/.github/workflows/re_use_workflow.yml index 68b5319..a26910c 100644 --- a/.github/workflows/re_use_workflow.yml +++ b/.github/workflows/re_use_workflow.yml @@ -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 @@ -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