From 0fcd58df82f7f95abff04ce5eec266b684a43847 Mon Sep 17 00:00:00 2001 From: Luciano Bello Date: Wed, 22 Mar 2023 15:38:34 +0100 Subject: [PATCH] Update deploy_documentation.sh (#249) (cherry picked from commit 859bef6cee39b77501d280cd58193a45d6c2d076) --- tools/deploy_documentation.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/deploy_documentation.sh b/tools/deploy_documentation.sh index 8da4258..0fb8bb3 100755 --- a/tools/deploy_documentation.sh +++ b/tools/deploy_documentation.sh @@ -2,7 +2,7 @@ # This code is part of Qiskit. # -# (C) Copyright IBM 2018, 2022. +# (C) Copyright IBM 2018, 2023. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory @@ -12,7 +12,7 @@ # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. -# Script for pushing the documentation to the qiskit.org repository. +# Script for pushing the documentation to the qiskit.org/ecosystem set -e curl https://downloads.rclone.org/rclone-current-linux-amd64.deb -o rclone.deb @@ -23,7 +23,10 @@ RCLONE_CONFIG_PATH=$(rclone config file | tail -1) echo "show current dir: " pwd -# Push to qiskit.org website +# Push to qiskit.org/ecosystem openssl aes-256-cbc -K $encrypted_rclone_key -iv $encrypted_rclone_iv -in tools/rclone.conf.enc -out $RCLONE_CONFIG_PATH -d -echo "Pushing built docs to website" +echo "Pushing built docs to qiskit.org/ecosystem" +rclone sync --progress --exclude locale/** ./docs/_build/html IBMCOS:qiskit-org-web-resources/ecosystem/finance + +# Push to qiskit.org/documentation rclone sync --progress --exclude locale/** ./docs/_build/html IBMCOS:qiskit-org-web-resources/documentation/finance