Skip to content

Publish docs via GitHub Pages #25

Publish docs via GitHub Pages

Publish docs via GitHub Pages #25

Workflow file for this run

name: Publish docs via GitHub Pages
on:
release:
types: [created]
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Package
run: |
make build
- name: Validate package
run: |
ls dist
PACKAGE=`ls dist/jsf-*.tar.gz`
pip3 install $PACKAGE\[cli\]
jsf --help
- name: Deploy docs
run: |
mkdocs gh-deploy --force