Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski committed Mar 3, 2024
1 parent 20cf831 commit 41352df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
# Based on: https://stackoverflow.com/a/58035262/614177
# For syntax, see: https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion
# Strips "feature/" from PR branch names. Also replaces '/' with '-'.
run: echo "branch=${${${GITHUB_HEAD_REF#feature/}:-${GITHUB_REF#refs/heads/}}//\//-}" >> $GITHUB_OUTPUT
run: echo "branch=${${${GITHUB_HEAD_REF#feature/}:-${GITHUB_REF#refs/heads/}}//\\//-}" >> $GITHUB_OUTPUT
shell: bash

#
Expand Down

0 comments on commit 41352df

Please sign in to comment.