Skip to content

Commit

Permalink
ci: use wildcard for refs on branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Jul 20, 2024
1 parent cc43cb2 commit 8a1614a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8a1614a

Please sign in to comment.