This repository has been archived by the owner on Aug 19, 2023. It is now read-only.
[repo archived] #334
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: Docs Publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U virtualenv setuptools wheel 'tox<4' | |
sudo apt-get install graphviz pandoc | |
- name: Build and publish | |
env: | |
encrypted_rclone_key: ${{ secrets.encrypted_rclone_key }} | |
encrypted_rclone_iv: ${{ secrets.encrypted_rclone_iv }} | |
QISKIT_DOCS_BUILD_TUTORIALS: 'always' | |
QISKIT_ENABLE_ANALYTICS: True | |
run: | | |
tools/deploy_documentation.sh | |
deploy-translatable-strings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U virtualenv setuptools wheel 'tox<4' | |
sudo apt-get install graphviz pandoc | |
- name: Build and publish | |
env: | |
encrypted_deploy_po_branch_key: ${{ secrets.encrypted_deploy_po_branch_key }} | |
encrypted_deploy_po_branch_iv: ${{ secrets.encrypted_deploy_po_branch_iv }} | |
QISKIT_DOCS_BUILD_TUTORIALS: 'always' | |
run: | | |
tools/deploy_translatable_strings.sh |