mseth10 commented on a change in pull request #19244:
URL: https://github.com/apache/incubator-mxnet/pull/19244#discussion_r496276413



##########
File path: ci/docker/runtime_functions.sh
##########
@@ -1922,6 +1922,20 @@ build_docs_beta() {
     popd
 }
 
+push_docs() {
+    version_name=$1
+    set -ex
+    pip3 install --user awscli
+    export PATH=~/.local/bin:$PATH
+    pushd docs/_build
+    wget 
https://mxnet-website-static-artifacts.s3.us-east-2.amazonaws.com/versions.zip 
&& unzip versions.zip && rm versions.zip
+    mkdir $version_name && tar -xzf full_website.tgz -C $version_name 
--strip-components 1
+    mv $version_name versions

Review comment:
       check if version name folder already exists, if it does delete it




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to