This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
Update README.md #684
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Finance Docs Publish | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
language: | |
- bn_BN | |
- ja_JP | |
- es_UN | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install Qiskit Finance dependencies | |
run: | | |
cd finance | |
python -m pip install --upgrade pip | |
pip install -U virtualenv setuptools wheel | |
pip install jupyter sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] 'torchvision<0.10.0' | |
sudo apt-get install -y pandoc graphviz | |
pip install -U -r requirements-dev.txt -r requirements.txt sphinx-intl | |
pip install -e . | |
- name: Build translated Qiskit Finance Docs | |
env: | |
encrypted_rclone_key: ${{ secrets.encrypted_rclone_key }} | |
encrypted_rclone_iv: ${{ secrets.encrypted_rclone_iv }} | |
TRANSLATION_LANG: ${{ matrix.language }} | |
run: | | |
cd finance | |
../tools/deploy_finance_translated_documentation.sh |