Skip to content

Commit

Permalink
Fix checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoSiQian committed Aug 19, 2023
1 parent 961239f commit 9ddf6a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: 'parser'
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -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: |
Expand Down

0 comments on commit 9ddf6a4

Please sign in to comment.