Skip to content

Commit

Permalink
Drop explicit ref in preview checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Dec 9, 2024
1 parent 3b0a444 commit 4f7c7d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/gh-page-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
steps:
- name: Checkout PR Branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -72,4 +70,4 @@ jobs:
run: |
git rm -rf __preview/pr-${{ github.event.pull_request.number }}
git commit -m "Remove preview for PR #${{ github.event.pull_request.number }}"
git push origin gh-pages
git push origin gh-pages

0 comments on commit 4f7c7d8

Please sign in to comment.