Skip to content

Commit

Permalink
ci: fix pr check
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jun 7, 2024
1 parent 6d0bf39 commit 93d9556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ jobs:
- name: Generate URL Preview
id: url_preview
if: ${{ env.github_refname != 'main' }}
if: github.event_name == 'pull_request'
run: |
NETLIFY_PREVIEW_URL=$(jq -r '.deploy_url' deploy_output.json)
echo "NETLIFY_PREVIEW_URL=$NETLIFY_PREVIEW_URL" >> $GITHUB_OUTPUT
- uses: peter-evans/create-or-update-comment@v4
if: ${{ env.github_refname != 'main' }}
if: github.event_name == 'pull_request'
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.number }}
Expand Down

0 comments on commit 93d9556

Please sign in to comment.