Skip to content

Bump uvicorn from 0.25.0 to 0.27.0.post1 (#27) #6

Bump uvicorn from 0.25.0 to 0.27.0.post1 (#27)

Bump uvicorn from 0.25.0 to 0.27.0.post1 (#27) #6

Workflow file for this run

name: Documentation
on:
push:
branches: ["main"]
workflow_dispatch:
env:
PIP_NO_OPTION: on
PIP_NO_CLEAN: on
PIP_PREFER_BINARY: on
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Cache requirements
uses: actions/cache@v3
env:
cache-name: cache-requirements
with:
path: ~/.cache/pip
key: ${{ env.cache-name }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ env.cache-name }}-
- name: Cache poetry
uses: actions/cache@v3
env:
cache-name: cache-poetry
with:
path: ~/.cache/pip
key: ${{ env.cache-name }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ env.cache-name }}-
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Setup pages
uses: actions/configure-pages@v3
- name: Install requirements
run: make install
- name: Run sphinx
run: make docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./docs/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2