This is an automated email from the ASF dual-hosted git repository. tqchen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm-test.git
commit 5353dccb21d42539f9ee646309d65ac163550c17 Author: tqchen <[email protected]> AuthorDate: Mon Nov 25 21:05:27 2019 -0800 Update script. --- .gitignore | 2 +- scripts/task_deploy_asf_site.sh | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 5623bc9..86f470d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ _site .DS_Store .* website.tgz -scripts \ No newline at end of file +scripts diff --git a/scripts/task_deploy_asf_site.sh b/scripts/task_deploy_asf_site.sh index c91efb4..f1afc08 100755 --- a/scripts/task_deploy_asf_site.sh +++ b/scripts/task_deploy_asf_site.sh @@ -2,18 +2,17 @@ # Deploy the website to the asf-site branch. set -e set -u - echo "Start to generate and deploy site ..." -rm -rf _site jekyll b --safe -cp .gitignore _site +cp .gitignore .gitignore.bak git checkout asf-site - # remove all existing files git ls-files | xargs rm -f # copy new files into the current site +cp .gitignore.bak .gitignore cp -rf _site/* . -git add --all && git commit -am 'nigthly build at `date`' +DATE=`date` +git add --all && git commit -am "nigthly build at ${DATE}" git push origin asf-site git checkout master echo "Finish deployment..."
