Skip to content

Commit 802d763

Browse files
committed
fix: Change search string for multiversion doc selector
1 parent 3847627 commit 802d763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-check-install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ jobs:
354354
echo "ref-name=${{ steps.branch-name.outputs.current_branch }}" >> $GITHUB_OUTPUT
355355
fi
356356
# Check if pkgdown multiversion docs are used at all.
357-
if [ $(grep -rl '<!-- start dropdown for versions -->' gh-pages | wc -l) -gt 0 ]; then
357+
if [ $(grep -rl '<!-- Generated by pkgdown + https://github.com/insightsengineering/r-pkgdown-multiversion -->' gh-pages | wc -l) -gt 0 ]; then
358358
echo "multiversion-docs=true" >> $GITHUB_OUTPUT
359359
else
360360
echo "multiversion-docs=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)