Skip to content

Merge pull request #53 from bburt-rh/feature/cursor-docs-site #170

Merge pull request #53 from bburt-rh/feature/cursor-docs-site

Merge pull request #53 from bburt-rh/feature/cursor-docs-site #170

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/configure-pages@v5
- uses: actions/checkout@v5
with:
ref: main
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Scan plugin dependencies
run: python scripts/scan_deps.py
- name: Generate plugin docs
run: python scripts/generate_plugin_docs.py
- name: Install zensical
run: pip install zensical
- name: Build site
run: zensical build --clean
- uses: actions/upload-pages-artifact@v4
with:
path: site
- uses: actions/deploy-pages@v4
id: deployment