diff --git a/.github/workflows/push-to-external-repo.yml b/.github/workflows/push-to-external-repo.yml index ea92234..a1d982d 100644 --- a/.github/workflows/push-to-external-repo.yml +++ b/.github/workflows/push-to-external-repo.yml @@ -23,10 +23,10 @@ jobs: id: branch run: | if [ "${{ github.event_name }}" == "pull_request" ] && [ "${{ github.event.action }}" == "opened" ]; then - pr_number=$(echo "${{ github.event.number }}") - echo "{branch}={${pr_number}-preview}" >> $GITHUB_OUTPUT + pr_number="${{ github.event.number }}" + echo "branch=${pr_number}-preview" >> $GITHUB_OUTPUT else - echo "{branch}={main}" >> $GITHUB_OUTPUT + echo "branch=main" >> $GITHUB_OUTPUT fi - name: Publish to external repository