areusch commented on a change in pull request #10494:
URL: https://github.com/apache/tvm/pull/10494#discussion_r826256948
##########
File path: Jenkinsfile
##########
@@ -724,13 +725,52 @@ stage('Build packages') {
}
*/
+def deploy_docs() {
+ // Note: This code must stay in the Jenkinsfile to ensure that it runs
+ // from a trusted context only
+ sh(
+ script: '''
+ set -eux
+ rm -rf tvm-site
+ git clone -b $DOCS_DEPLOY_BRANCH --depth=1
https://github.com/apache/tvm-site
+ cd tvm-site
+ git status
+ git checkout -B $DOCS_DEPLOY_BRANCH
+
+ rm -rf tvm-site/docs
+ mkdir -p tvm-site/docs
+ tar xf ../docs.tgz -C tvm-site/docs
Review comment:
wondering if this stuff should live in a script in tvm-site repo instead?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]