Skip to content

DOC: Add _pre_build script #61

DOC: Add _pre_build script

DOC: Add _pre_build script #61

Workflow file for this run

name: Documentation
on:
workflow_dispatch:
push:
branches: ["main", "dev", "doc", "dev-*"]
pull_request:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.4.521"
- name: Install Package
run: |
pip install git+https://github.com/has2k1/mizani.git@main
python -m pip install ".[doc]"
pip install -r requirements/doc.txt
quarto add --no-prompt has2k1/issuey
- name: Environment Information
shell: bash
run: |
ls -la
ls -la doc
pip list
- name: Build docs
run: |
make doc
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: doc/_site