From 9ddf6a42a5eee6ac9a80fe4ff049e43d6f09f57d Mon Sep 17 00:00:00 2001 From: YaoSiQian <2229561981@qq.com> Date: Sat, 19 Aug 2023 03:37:22 +0000 Subject: [PATCH] Fix checkout --- .github/workflows/push.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 7abce8e6..6aeb81a7 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -14,6 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 with: + ref: 'parser' submodules: 'recursive' - name: Set up Python uses: actions/setup-python@v2 @@ -23,11 +24,7 @@ jobs: run: python main.py - name: Update submodules run: | - cd data_export - git fetch origin - git checkout -b export origin/export - cd .. - git submodule init + git submodule update --init --recursive git submodule update --remote - name: Push changes run: |