This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Update to reflect QRAO is in a released version of Qiskit Optimization #88
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: Build and deploy sphinx docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- 'stable/**' | |
jobs: | |
build_and_deploy_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
sudo apt-get update | |
sudo apt-get install -y pandoc | |
- name: Build docs | |
run: | | |
tox -edocs | |
- name: Deploy docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/_build/html/ |