Skip to content

Commit

Permalink
tweak method for getting branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh890 committed Jul 9, 2024
1 parent 726c3b8 commit cf0699a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Extract branch name
shell: bash
run: echo "branch=${dirname ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}}" >> $GITHUB_OUTPUT
run: echo "branch=${dirname ${GITHUB_REF_NAME}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: build
Expand Down

0 comments on commit cf0699a

Please sign in to comment.