forked from cswimr/SeaCogs
Merge branch 'main' into updatechecker
This commit is contained in:
commit
84532af05e
1 changed files with 5 additions and 3 deletions
|
@ -30,13 +30,15 @@ jobs:
|
||||||
unset GITHUB_TOKEN
|
unset GITHUB_TOKEN
|
||||||
unset GITLAB_TOKEN
|
unset GITLAB_TOKEN
|
||||||
|
|
||||||
echo "${{ github.ref_name }}"
|
echo "github.ref = ${{ github.ref }}"
|
||||||
echo "${{ github.base_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
|
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"
|
||||||
|
|
Loading…
Reference in a new issue