This commit is contained in:
Thomas E Lackey 2023-11-14 17:19:33 -06:00
parent 4920c46fa2
commit 5368da2299

View File

@ -41,12 +41,11 @@ if [ "$CERC_NEXTJS_SKIP_GENERATE" != "true" ]; then
generate_done="false" generate_done="false"
while [ $count -lt $CERC_MAX_GENERATE_TIME ] && [ "$generate_done" == "false" ]; do while [ $count -lt $CERC_MAX_GENERATE_TIME ] && [ "$generate_done" == "false" ]; do
sleep 1 sleep 1
count=$((count + 1))
grep 'rendered as static HTML' gen.out > /dev/null grep 'rendered as static HTML' gen.out > /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
generate_done="true" generate_done="true"
sleep 1
fi fi
count=$((count + 1))
done done
if [ $generate_done != "true" ]; then if [ $generate_done != "true" ]; then