From 49f6e7a3c6729025e0d412ee19786c71811a6390 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Wed, 24 Jun 2020 10:37:01 -0400 Subject: [PATCH] Add some prints to debug (#5244) --- .circleci/deploy.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.circleci/deploy.sh b/.circleci/deploy.sh index b95113c679..32097c589e 100755 --- a/.circleci/deploy.sh +++ b/.circleci/deploy.sh @@ -17,8 +17,21 @@ function deploy_doc(){ fi } +function debug_custom() { + echo "Head of source/_static/js/custom.js" + head -10 source/_static/js/custom.js + if [ -d "_build/html/_static" ]; then + echo "Head of _build/html/_static/js/custom.js" + head -10 _build/html/_static/js/custom.js + else + echo "No build" + fi +} + # You can find the commit for each tag on https://github.com/huggingface/transformers/tags +debug_custom deploy_doc "master" master +debug_custom deploy_doc "b33a385" v1.0.0 deploy_doc "fe02e45" v1.1.0 deploy_doc "89fd345" v1.2.0 @@ -35,4 +48,5 @@ deploy_doc "11c3257" v2.8.0 deploy_doc "e7cfc1a" v2.9.0 deploy_doc "7cb203f" v2.9.1 deploy_doc "10d7239" v2.10.0 -deploy_doc "b42586e" #v2.11.0 Latest stable release \ No newline at end of file +deploy_doc "b42586e" #v2.11.0 Latest stable release +debug_custom \ No newline at end of file