Skip to content

Commit 4004144

Browse files
ggfevansclaude
andcommitted
fix(ci): enable non-cone mode for sparse-checkout of single file
Git sparse-checkout in cone mode (default) only accepts directories. Adding sparse-checkout-cone-mode: false allows checking out individual files like docker-compose.yml. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2781de1 commit 4004144

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ jobs:
170170
with:
171171
sparse-checkout: |
172172
docker-compose.yml
173+
sparse-checkout-cone-mode: false
173174

174175
- name: Sync docker-compose.yml to prod
175176
run: |

0 commit comments

Comments
 (0)