mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-24 15:30:42 +00:00
ci: use wildcard for refs on branch name
This commit is contained in:
parent
cc43cb2d6e
commit
8a1614ab59
2
.github/workflows/website.yml
vendored
2
.github/workflows/website.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
|
||||
- name: Set branch name
|
||||
id: branch
|
||||
run: echo "BRANCH_NAME=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> "$GITHUB_ENV"
|
||||
run: echo "BRANCH_NAME=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/*/}}" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Fix base URL
|
||||
if: env.BRANCH_NAME != 'master' && github.repository_owner == 'Rosettea'
|
||||
|
Loading…
x
Reference in New Issue
Block a user