diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index 2bdfeee..50307ad 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -55,9 +55,11 @@ jobs: unset GITLAB_TOKEN if [ -n "${{ github.base_ref }}" ]; then + echo "${{ github.base_ref }}" release="$(basename "${{ github.base_ref }}")" else - release="$(basename "${{ github.ref }}")" + echo "${{ github.ref_name }}" + release="$(basename "${{ github.ref_name }}")" fi echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}...\n"