Skip to content

docs: add control plane section #128

docs: add control plane section

docs: add control plane section #128

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "docs-pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install mise
uses: jdx/mise-action@v2
- name: Build documentation
run: mise run build
- name: Upload build artifact
uses: actions/upload-artifact@v4
if: github.event_name == 'pull_request'
with:
name: docs-build
path: public
retention-days: 7
- name: Setup Pages
if: github.event_name != 'pull_request'
uses: actions/configure-pages@v4
- name: Upload pages artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
if: github.event_name != 'pull_request'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4