From 31736fad1ef7d1f4ff47d8fe1101977bb9b84cf3 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 9 May 2021 21:09:24 +0200 Subject: [PATCH] Ensured proper ref is checked out on preview env --- .github/workflows/deploy-preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index ae409bd2..ce33cfd5 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -12,6 +12,7 @@ jobs: uses: actions/checkout@v2 with: repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} - name: Use node.js 14.15 uses: actions/setup-node@v1 with: