mirror of https://github.com/Hilbis/Hilbish
ci: fix branch name
parent
ab26b82a9f
commit
00c967d7c1
|
@ -21,7 +21,7 @@ jobs:
|
||||||
|
|
||||||
- name: Set branch name
|
- name: Set branch name
|
||||||
id: branch
|
id: branch
|
||||||
run: echo "::set-output name=BRANCH_NAME::${GITHUB_REF##*/}"
|
run: echo "BRANCH_NAME=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Fix base URL
|
- name: Fix base URL
|
||||||
if: steps.branch.outputs.BRANCH_NAME != 'master' && github.repository_owner == 'Rosettea'
|
if: steps.branch.outputs.BRANCH_NAME != 'master' && github.repository_owner == 'Rosettea'
|
||||||
|
|
Loading…
Reference in New Issue