Skip to content

Commit

Permalink
fix label in environment step
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Dec 8, 2023
1 parent d3f9685 commit aea45a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ephemeral-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
run: |
LABEL=$(echo "${{ join(github.event.pull_request.labels.*.name, ' ') }}" | grep -o 'preview:[^ ]*' | head -n 1)
if [ -n "${LABEL}" ]; then
ENVIRONMENT=${label#preview:}
ENVIRONMENT=${LABEL#preview:}
echo "Environment extracted from label: ${ENVIRONMENT}"
echo "environment=${ENVIRONMENT}" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit aea45a5

Please sign in to comment.