Skip to content

Add more endpoint to test #16

Add more endpoint to test

Add more endpoint to test #16

Workflow file for this run

name: Build and Deploy doc
on: [push]
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-and-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-in-project: true
- name: Install and Build
run: |
poetry install
source /home/runner/work/resonitepy/resonitepy/.venv/bin/activate
pdoc3 --html resonitepy
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'html/resonitepy/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1