Skip to content

Commit 987babe

Browse files
authored
ci: skip old tags (#33)
* chore: skip if docs yml doesn’t exist * chore: skip tags --------- Co-authored-by: danthorpe <danthorpe@users.noreply.github.com>
1 parent b66fa4c commit 987babe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ jobs:
5050
5151
git checkout .;
5252
git checkout "$tag";
53-
54-
make docs-all tag="$tag" output=docs-out basepath=swift-utilities
55-
53+
if [ -f ".github/workflows/docs.yml" ]
54+
then
55+
make docs-all tag="$tag" output=docs-out basepath=swift-utilities
56+
fi;
5657
fi;
5758
done
5859

0 commit comments

Comments
 (0)