Kaynağa Gözat

fix: cicd, checkout sha Merge pull request #3920 from sungaomeng/main

fix: cicd, checkout sha
sungaomeng 2 yıl önce
ebeveyn
işleme
118e8f541c
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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