Skip to content

Commit b79b421

Browse files
stephencelismluisbrown
authored andcommitted
Update documentation.yml
(cherry picked from commit 0f7ff980a998d83e36289e05df79e2aeda1a4d5a)
1 parent 337e811 commit b79b421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
rm -rf docs-out/.git;
5959
rm -rf docs-out/main;
6060
rm -rf docs-out/protocol-beta;
61-
git tag -l --sort=-v:refname | tail -n +10 | xargs rm -rf;
61+
git tag -l --sort=-v:refname | tail -n +10 | xargs -I {} rm -rf docs-out/{};
6262
63-
for tag in $(echo "main"; echo "protocol-beta"; git tag);
63+
for tag in $(echo "main"; echo "protocol-beta"; git tag -l --sort=-v:refname | head -10);
6464
do
6565
echo "⏳ Generating documentation for "$tag" release.";
6666

0 commit comments

Comments
 (0)