Quellcode durchsuchen

fix: cicd, checkout sha

孙高猛 vor 1 Jahr
Ursprung
Commit
3fa55f9022
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      .github/workflows/deploy_preview.yml

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

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