瀏覽代碼

Update deploy-spec.yml

Anthony Max 3 月之前
父節點
當前提交
1d87beb906
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/deploy-spec.yml

+ 1 - 0
.github/workflows/deploy-spec.yml

@@ -30,6 +30,7 @@ jobs:
           git config --global user.email "anthonymaxgit@gmail.com"
           git clone https://${{ env.ORG_NAME }}:${{ secrets.SECRET_TOKEN }}@github.com/${{ env.ORG_NAME }}/spec.git
           cd spec
+          git checkout -B spec
           git remote add ${{ env.ORIGINAL_REPO_NAME }} https://${{ env.ORG_NAME }}:${{ secrets.SECRET_TOKEN }}@github.com/${{ env.ORG_NAME }}/${{ env.ORIGINAL_REPO_NAME }}.git
           git fetch ${{ env.ORIGINAL_REPO_NAME }}
           git checkout ${{ env.ORIGINAL_REPO_NAME }}/spec -- . || true