This is an automated email from the ASF dual-hosted git repository.
bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git
The following commit(s) were added to refs/heads/develop by this push:
new 4b24ce9 validate is alternative
new 87e4629 Merge remote-tracking branch 'upstream/develop' into develop
4b24ce9 is described below
commit 4b24ce90f42540c81336d75bd0751ea64f661d73
Author: Bertty Contreras-Rojas <[email protected]>
AuthorDate: Mon Feb 22 02:32:43 2021 -0300
validate is alternative
---
script/cibuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/script/cibuild b/script/cibuild
index a9ae4f4..3e70cc1 100644
--- a/script/cibuild
+++ b/script/cibuild
@@ -11,7 +11,12 @@ cat _config.yml | grep -v "url:" >> _config.yml.tmp
mv _config.yml.tmp _config.yml
bundle exec jekyll build
-bundle exec htmlproofer ./_site
+if [ "${VALIDATE}" != "" ]; then
+ echo "it will not validate the site"
+else
+ bundle exec htmlproofer ./_site
+fi
+
mkdir -p ../tmp
mv ./_site/* ../tmp