Explorar el Código

fix: cicd, checkout sha

孙高猛 hace 1 año
padre
commit
3fa55f9022
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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