mirror of https://github.com/Qiskit/qiskit-aer.git
deploy documentation in qiskit.org/ecosystem (#1748)
* deploy documentation in qiskit.org/ecosystem * comment
This commit is contained in:
parent
8f08f72273
commit
7b3ab2059a
|
@ -2,7 +2,7 @@
|
|||
|
||||
# This code is part of Qiskit.
|
||||
#
|
||||
# (C) Copyright IBM 2018, 2019.
|
||||
# (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 qiskit.org.
|
||||
set -e
|
||||
|
||||
curl https://downloads.rclone.org/rclone-current-linux-amd64.deb -o rclone.deb
|
||||
|
@ -26,7 +26,10 @@ tox -edocs
|
|||
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"
|
||||
rclone sync --progress ./docs/_build/html IBMCOS:qiskit-org-web-resources/ecosystem/aer
|
||||
|
||||
# Push to qiskit.org/documentation
|
||||
rclone sync --progress ./docs/_build/html IBMCOS:qiskit-org-web-resources/documentation/aer
|
||||
|
|
Loading…
Reference in New Issue