fix: fix docs preview deployment pipeline (#787)

The code for the preview build is now sourced from the target branch,
whereas it was previously sourced from the main branch.
This commit is contained in:
Twisha Bansal
2025-07-03 21:54:10 +05:30
committed by GitHub
parent f13e9635ba
commit 0a93b0482c

View File

@@ -51,6 +51,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo