Skip to content

Commit 83d9d09

Browse files
committed
checkout branches
1 parent ad9fa11 commit 83d9d09

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/slurp_branches.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
workflow_dispatch:
88

99
jobs:
10+
checkout-docs-repo:
11+
steps:
12+
- name: Checkout docs repository
13+
uses: actions/checkout@v4
1014
slurp-branches:
1115
runs-on: ubuntu-latest
1216
strategy:
@@ -25,16 +29,13 @@ jobs:
2529
- release-x.45.x
2630
- release-x.44.x
2731
- release-x.43.x
28-
# TODO: ^ add more release branches ^
29-
steps:
30-
- name: Checkout docs repository
31-
uses: actions/checkout@v4
32-
with:
33-
ref: ${{ matrix.branch }}
32+
# TODO: ^ add more release branches ^
3433

3534
# Clone only a subdirectory from branch {{matrix.branch}} on metabase/metabase using sparse checkout
3635
# This will be much faster.
3736
- name: Clone /docs/ from master with sparse checkout
37+
with:
38+
ref: ${{ matrix.branch }}
3839
run: |
3940
echo ${{ matrix.branch }}
4041
git clone --depth 1 --branch ${{ matrix.branch }} --filter=blob:none --no-checkout https://github.com/metabase/metabase.git ../metabase-main

0 commit comments

Comments
 (0)