Merge pull request #44 from OpenQuantumDesign/rename #7
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 Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[docs] | |
- name: Copy Examples to Docs | |
run: | | |
cp -r examples/ docs/examples/ | |
- name: Build and Deploy | |
run: | | |
mkdocs build | |
# Add deployment step if needed | |
## todo: fix once repo is open and docs are hosted |