fix(workflow): more debug echos

This commit is contained in:
Seaswimmer 2024-01-07 12:20:15 +00:00
parent c0f076add0
commit ddd12a020a
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -30,13 +30,15 @@ jobs:
unset GITHUB_TOKEN unset GITHUB_TOKEN
unset GITLAB_TOKEN unset GITLAB_TOKEN
echo "${{ github.ref_name }}" echo "${{ github.ref }}"
echo "${{ github.base_ref }}" echo "${{ github.base_ref }}"
echo "$(basename "${{ github.ref }}"))"
echo "$(basename "${{ github.base_ref }}"))"
if [ -n "${{ github.base_ref }}" ]; then if [ -n "${{ github.base_ref }}" ]; then
release="$(basename "${{ github.base_ref }}")" release="$(basename "${{ github.base_ref }}")"
else else
release="$(basename "${{ github.ref_name }}")" release="$(basename "${{ github.ref }}")"
fi fi
echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}...\n" echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}...\n"