diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..b964276 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,34 @@ +name: Documentation + +on: + push: + branches: + - main + pull_request: + branches: ['main'] + +permissions: + contents: read + pages: write + id-token: write + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - uses: actions/configure-pages@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-python@v5 + with: + python-version: 3.x + - run: pip install -e . + - run: mkdocs --help + # - run: mkdocs build + # - uses: actions/upload-pages-artifact@v4 + # with: + # path: site + # - uses: actions/deploy-pages@v4 + # id: deployment