Skip to content

try importing after project path is added #22

try importing after project path is added

try importing after project path is added #22

Workflow file for this run

name: Docs
on: [push, pull_request]
# Allows you to run this workflow manually from the Actions tab
#workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
build_doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Pages
id: pages
uses: actions/configure-pages@v2
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install sphinx sphinx_rtd_theme
- name: Sphinx build
run: |
#sphinx-build docs/source _build
cd docs
make html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './docs/build/html'
deploy_doc:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build_doc
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2