diff --git a/.forgejo/cascading-docs b/.forgejo/cascading-docs index 97e1d8a..7bc4103 100755 --- a/.forgejo/cascading-docs +++ b/.forgejo/cascading-docs @@ -7,6 +7,11 @@ docs_pr=$2 end_to_end=$3 end_to_end_ref=$4 +if ! test -d /srv/contexts ; then + echo no contexts in /srv/contexts, do nothing + exit 0 +fi + cd $docs/docs/user if ! test -f actions-contexts/version.txt || test "$VERSION" != $(cat actions-contexts/version.txt) ; then