Skip to content

clean up doc, try to setup gh pages #1

clean up doc, try to setup gh pages

clean up doc, try to setup gh pages #1

name: Documentation
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: pip3 install -r doc/requirements.txt
- uses: actions/upload-pages-artifact@v1
with:
path: ./doc/_build/html/
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
permissions:
pages: write
id-token: write
steps:
- id: deployment
uses: actions/deploy-pages@v2