Skip to content

Commit 454d53a

Browse files
committed
blob updates
1 parent 817a58f commit 454d53a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/docs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ jobs:
3333
with:
3434
lfs: false
3535

36+
- name: Restore docs static assets (bypass git-lfs smudge)
37+
run: |
38+
# git-lfs on the runner rewrites files tracked by *.png/*.gif
39+
# even when our .gitattributes override removes filter=lfs.
40+
# Use git cat-file to write real binary content directly from
41+
# the object store, bypassing all smudge filters.
42+
git ls-tree -r HEAD -- docs/source/_static \
43+
| awk '{print $3, $4}' \
44+
| while IFS=" " read -r hash path; do
45+
git cat-file blob "$hash" > "$path"
46+
done
47+
3648
- name: Set up Python
3749
uses: actions/setup-python@v5
3850
with:

0 commit comments

Comments
 (0)