docs: do nothing if /srv/contexts does not exist
This commit is contained in:
parent
bc1e2aafa9
commit
8aa95dc301
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue