Skip to content

Refactor code graph commands and enhance architecture documentation #1

Refactor code graph commands and enhance architecture documentation

Refactor code graph commands and enhance architecture documentation #1

Workflow file for this run

name: docs
on:
push:
branches: [ main ]
paths:
- README.md
- docs/**
- .github/workflows/docs.yml
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Pages
uses: actions/configure-pages@v5
with:
enablement: true
- name: Build static docs
run: |
set -euo pipefail
mkdir -p _site
cp -R docs _site/docs
cp README.md _site/index.md
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: ./_site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4