Skip to content

Commit 0759702

Browse files
authored
[Publish GHA] Update copying logic to populate recent llms-full.txt files (cloudflare#26418)
* [Publish GHA] Update copying logic to populate recent llms-full.txt files * Apply suggestion from @kodster28
1 parent 033725b commit 0759702

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/publish-production.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ jobs:
5151
cd ..
5252
5353
cd distllms
54-
for file in $(find . -type f); do
55-
rclone copy \
56-
--config ../bin/rclone.conf \
57-
$file \
58-
devdocs:vendored-markdown
59-
done
54+
rclone copy --max-depth 2 \
55+
--config ../bin/rclone.conf \
56+
. \
57+
devdocs:vendored-markdown
6058
cd ..
6159
- name: Upload vendored Markdown files to ZT DevDocs bucket
6260
env:

0 commit comments

Comments
 (0)