孙高猛 1 жил өмнө
parent
commit
3fa55f9022

+ 2 - 0
.github/workflows/deploy_preview.yml

@@ -23,6 +23,8 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
       - uses: actions/checkout@v2
       - uses: actions/checkout@v2
+        with:
+          ref: ${{ github.event.pull_request.head.sha }}
 
 
       - name: Extract branch name
       - name: Extract branch name
         shell: bash
         shell: bash