Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix Netlify builds
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Apr 27, 2022
1 parent b6bc294 commit 8f7e265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/netlify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
head_ref='${{github.event.workflow_run.head_sha}}'
echo "Head ref: $head_ref"
pulls_uri="https://api.github.com/repos/${{ github.repository }}/pulls?head=$(jq -Rr '@uri' <<<$head_branch)"
pr_number = $(curl -s -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' "$pulls_uri" | jq -r '.[] | .number)
pr_number = $(curl -s -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' "$pulls_uri" | jq -r .[] | .number)
echo "PR number: $pr_number"
echo "::set-output name=prnumber::$pr_number"
echo "::set-output name=headref::$head_ref"
Expand Down

0 comments on commit 8f7e265

Please sign in to comment.