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