Ensured proper ref is checked out on preview env

This commit is contained in:
Alejandro Celaya 2021-05-09 21:09:24 +02:00
parent 6319a81ddb
commit 31736fad1e

View file

@ -12,6 +12,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Use node.js 14.15 - name: Use node.js 14.15
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with: