diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index cdc5512..7d098ed 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.base_ref }}" + echo "github.ref = ${{ github.ref }}" + echo "github.base_ref = ${{ github.base_ref }}" + echo "(Basename) github.ref = $(basename "${{ github.ref }}")" + echo "(Basename) github.base_ref = $(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"