ci: fix branch name

pull/240/head
sammyette 2023-07-09 17:06:29 -04:00
parent 157984e16c
commit e013ecdb7b
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

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