Skip to content

Commit f533c61

Browse files
Fix doc PRs preview generation (#28)
Clone the PR branch not main
1 parent f800ce7 commit f533c61

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pushpreview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
contents: read # Default for reading the repository contents
1616
steps:
1717
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
with:
19+
ref: ${{ github.head_ref }}
1820
- name: Comment
1921
run: |
2022
gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "⚙️ Hang tight! PushPreview is currently building your preview. We'll share the URL as soon as it's ready."

0 commit comments

Comments
 (0)