We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 817a58f commit 454d53aCopy full SHA for 454d53a
.github/workflows/docs.yml
@@ -33,6 +33,18 @@ jobs:
33
with:
34
lfs: false
35
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
+
48
- name: Set up Python
49
uses: actions/setup-python@v5
50
0 commit comments