From ddd12a020a804aaa004904f3242e683094829977 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 12:20:15 +0000 Subject: [PATCH] fix(workflow): more debug echos --- .forgejo/workflows/workflow.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index cdc5512..16ddf19 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -30,13 +30,15 @@ jobs: unset GITHUB_TOKEN unset GITLAB_TOKEN - echo "${{ github.ref_name }}" + echo "${{ github.ref }}" echo "${{ github.base_ref }}" + echo "$(basename "${{ github.ref }}"))" + echo "$(basename "${{ github.base_ref }}"))" if [ -n "${{ github.base_ref }}" ]; then release="$(basename "${{ github.base_ref }}")" else - release="$(basename "${{ github.ref_name }}")" + release="$(basename "${{ github.ref }}")" fi echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}...\n"