mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-30 18:23:23 +00:00
ci: fix branch name
This commit is contained in:
parent
ab26b82a9f
commit
00c967d7c1
2
.github/workflows/website.yml
vendored
2
.github/workflows/website.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
|
||||
- name: Set branch name
|
||||
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
|
||||
if: steps.branch.outputs.BRANCH_NAME != 'master' && github.repository_owner == 'Rosettea'
|
||||
|
Loading…
x
Reference in New Issue
Block a user