From 21027177bcef05d2acf54cd3f9381052633091f0 Mon Sep 17 00:00:00 2001 From: Sehi55 Date: Mon, 18 May 2026 11:59:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9C=EB=A9=94=ED=85=8C?= =?UTF-8?q?=EC=9A=B0=EC=8A=A4=20exposure=EC=B6=94=EA=B0=80=20cd=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd-prod.yml | 17 +++++++++-------- src/main/resources/application-prod.yml | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd-prod.yml b/.github/workflows/cd-prod.yml index fa3bb1e..45cf80b 100644 --- a/.github/workflows/cd-prod.yml +++ b/.github/workflows/cd-prod.yml @@ -25,18 +25,19 @@ env: jobs: deploy: - if: > - github.event_name == 'workflow_dispatch' || - ( - github.event_name == 'workflow_run' && - github.event.workflow_run.conclusion == 'success' && - github.event.workflow_run.event == 'push' && - github.event.workflow_run.head_branch == 'main' - ) + if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main') }} runs-on: ubuntu-latest timeout-minutes: 20 steps: + - name: Debug workflow_run payload + run: | + echo "event_name=${{ github.event_name }}" + echo "workflow_run.event=${{ github.event.workflow_run.event }}" + echo "workflow_run.head_branch=${{ github.event.workflow_run.head_branch }}" + echo "workflow_run.conclusion=${{ github.event.workflow_run.conclusion }}" + echo "workflow_run.name=${{ github.event.workflow_run.name }}" + - name: Configure AWS credentials (OIDC) uses: aws-actions/configure-aws-credentials@v4 with: diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 1ad81ff..6b837e7 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -19,7 +19,7 @@ management: endpoints: web: exposure: - include: health,info + include: health,info,prometheus endpoint: health: show-details: always