Skip to content

Commit

Permalink
ci: fix deployment action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Aug 7, 2023
1 parent 6c30c0a commit cdc0bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fi
elif ${{ github.event_name == 'pull_request_target' }}; then
echo "branch=pull/${{ github.event.number }}/merge" >> "$GITHUB_OUTPUT"
if ${{ github.event.head.repo.html_url != github.repository.html_url }}; then
if ${{ github.event.pull_request.head.repo.html_url != github.repository.html_url }}; then
echo "environment=External PR" >> "$GITHUB_OUTPUT"
else
echo "environment=Preview" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit cdc0bbc

Please sign in to comment.