Skip to content

Commit 186a0b9

Browse files
committed
some more optimization
1 parent a543d18 commit 186a0b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/refresh-fire-truck-locations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Checkout data branch for data directory
3535
run: |
36-
git fetch origin data
36+
git fetch --depth=1 origin data
3737
git checkout origin/data -- data/ || mkdir -p data
3838
3939
- name: Fetch and process API data
@@ -63,7 +63,7 @@ jobs:
6363
cp -r data/* /tmp/data-backup/
6464
6565
# Switch to data branch
66-
git fetch origin data
66+
git fetch --depth=1 origin data
6767
git checkout -B data origin/data
6868
6969
# Restore the generated data files

0 commit comments

Comments
 (0)