Skip to content

refactor: implement StrategyProvide #35

refactor: implement StrategyProvide

refactor: implement StrategyProvide #35

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
paths:
- zensical.toml
- docs/**
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Configure GitHub pages
uses: actions/configure-pages@v6
- name: Checkount main branch
uses: actions/checkout@v6
- name: Setup Python 3.x
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Install Zensical dependency
run: pip install zensical
- name: Build documentation website
run: zensical build --clean
- name: Upload website artifacts
uses: actions/upload-pages-artifact@v5
with:
path: site
- name: Deploy website
uses: actions/deploy-pages@v5
id: deployment