Skip to content

Commit

Permalink
Use PR HEAD as action version
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjrw committed Jan 9, 2025
1 parent 3fc0990 commit 27b48a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/preview-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Checkout
uses: actions/checkout@v3

uses: actions/checkout@v4
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
uses: rossjrw/pr-preview-action@${{ github.event.pull_request.head.sha }}
with:
source-dir: test

0 comments on commit 27b48a1

Please sign in to comment.