Skip to content

ci(deploy): with actions #2

ci(deploy): with actions

ci(deploy): with actions #2

Workflow file for this run

name: build-and-deploy
on:
- push
jobs:
build:
# if: "github.ref == 'refs/heads/main'"
runs-on: ubuntu-latest
container:
image: python:3.11
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: |
apk add --update --no-cache poetry
poetry install --without=dev
poetry run sphinx-build docs _build html
- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: _build/html
- name: Pages
uses: actions/deploy-pages@v4