Skip to content

ci(deploy): with actions #5

ci(deploy): with actions

ci(deploy): with actions #5

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: |
python3 -m venv venv
source ./venv/bin/activate
pip install -U 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