From e4953aa769c9767fab327572cce22ed1d50fe8d4 Mon Sep 17 00:00:00 2001 From: Tobias Klemp Date: Thu, 1 Jan 2026 23:26:13 +0100 Subject: [PATCH] test debug --- .gitea/workflows/commentDeploy.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/commentDeploy.yml b/.gitea/workflows/commentDeploy.yml index 2726561..299edfc 100644 --- a/.gitea/workflows/commentDeploy.yml +++ b/.gitea/workflows/commentDeploy.yml @@ -8,12 +8,24 @@ jobs: startsWith(gitea.event.comment.body, '/deploy') runs-on: ubuntu-latest steps: - - name: Get tag safe branch name + - name: Debug context + run: | + echo "Event: ${{ github.event_name }}" + echo "Ref: ${{ github.ref }}" + echo "Ref name: ${{ github.ref_name }}" + echo "Head ref: ${{ github.head_ref }}" + echo "Is PR comment: ${{ !!github.event.issue.pull_request }}" + echo "PR number: ${{ github.event.issue.number }}" + + - name: Checkout + uses: actions/checkout@v4 + + - name: Get branch name id: branch_name uses: ./.gitea/actions/getTagSafeRef - - name: Print branch_name - run: echo "${{ steps.branch_name.outputs.branch_name }}" + # - name: Print result + # run: echo "Branch name: ${{ steps.branch_name.outputs.branch_name }}" # - name: Build and push image # id: docker_build