ci: use wildcard for refs on branch name

pull/315/head
sammyette 2024-07-20 10:24:56 -04:00
parent cc43cb2d6e
commit 8a1614ab59
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ jobs:
- name: Set branch name - name: Set branch name
id: branch 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 - name: Fix base URL
if: env.BRANCH_NAME != 'master' && github.repository_owner == 'Rosettea' if: env.BRANCH_NAME != 'master' && github.repository_owner == 'Rosettea'