Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

[Qiskit Optimization] Automated documentation update to add .po files #679

[Qiskit Optimization] Automated documentation update to add .po files

[Qiskit Optimization] Automated documentation update to add .po files #679

Workflow file for this run

name: Nature 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 Nature dependencies
run: |
cd nature
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
pip install -e .[pyscf,mpl,sparse]
pip install -U -c constraints.txt -r requirements-dev.txt
- name: Build translated Qiskit Nature Docs
env:
encrypted_rclone_key: ${{ secrets.encrypted_rclone_key }}
encrypted_rclone_iv: ${{ secrets.encrypted_rclone_iv }}
TRANSLATION_LANG: ${{ matrix.language }}
run: |
cd nature
../tools/deploy_nature_translated_documentation.sh