Skip to content

Commit 148ff79

Browse files
bpamiriclaude
andcommitted
fix: ensure destination dirs exist before docs-sync rsync
The docs/3.1.0/ directory doesn't exist yet in wheels.dev, causing rsync to fail with "No such file or directory". Add mkdir -p before rsync to handle first-time sync for new versions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aec989d commit 148ff79

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs-sync.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626

2727
- name: Sync docs into wheels.dev
2828
run: |
29+
# Ensure destination directories exist (first sync for a new version)
30+
mkdir -p wheels-dev/docs/3.1.0/guides
31+
mkdir -p wheels-dev/public/images
32+
mkdir -p wheels-dev/public/json
33+
2934
# Guides: mirror with delete
3035
rsync -av --del wheels/docs/src/ wheels-dev/docs/3.1.0/guides/
3136

0 commit comments

Comments
 (0)