Skip to content

Commit

Permalink
Checkout head repo for preview deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
FidelusAleksander committed Aug 18, 2024
1 parent 6f7aa3e commit ed05e63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/preview-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
repository: ${{ github.event.pull_request.head.repo.full_name }} # Potentially dangerous, shouldn't be used without the label trigger
ref: ${{ github.event.pull_request.head.ref }} # Potentially dangerous, shouldn't be used without the label trigger
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
Expand Down

0 comments on commit ed05e63

Please sign in to comment.