From 1f3e3003474e342e39a552163ff8530ba7b0373a Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 7 Oct 2024 12:00:43 +0100 Subject: [PATCH] Logging stack deployment details --- .github/workflows/deploy.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f608a07a..67a03638 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -92,3 +92,14 @@ jobs: AWS_LOAD_BALANCER_HOSTNAME: ${{inputs.AWS_LOAD_BALANCER_HOSTNAME}} AWS_LOAD_BALANCER_PRIORITY: ${{inputs.AWS_LOAD_BALANCER_PRIORITY}} AWS_CONTAINER_REGISTRY: ${{inputs.AWS_CONTAINER_REGISTRY}} + + - name: "Log Build Version" + uses: actions/github-script@v7.0.1 + with: + script: | + core.info('Application: \u001b[38;5;6m${{env.DOCKER_APP_OWNER}}\\${{env.DOCKER_APP_NAME}}'); + core.info('Version: \u001b[38;5;6m${{env.BUILD_VERSION}}'); + core.info('Stack: \u001b[38;5;6m${{env.CLOUD_FORMATION_STACK}}'); + core.notice('Application: ${{env.DOCKER_APP_OWNER}}\\${{env.DOCKER_APP_NAME}}'); + core.notice('Version: ${{env.BUILD_VERSION}}'); + core.notice('Stack: ${{env.CLOUD_FORMATION_STACK}}');