Skip to content

Architecture Docs

Architecture Docs #7

Workflow file for this run

name: Architecture Docs
on:
push:
branches: [main, master, canary]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Trim non-essential directories
run: |
for dir in test tests __tests__ spec specs benchmarks bench docs documentation \
examples example fixtures migrations assets third_party \
.yarn .cache e2e integration_tests testdata; do
rm -rf "$dir" || true
done
- uses: supermodeltools/arch-docs@main
id: docs
with:
supermodel-api-key: ${{ secrets.SUPERMODEL_API_KEY }}
base-url: /spring-boot/
- name: Install wrangler
run: npm install -g wrangler@3
- name: Deploy to Cloudflare Pages
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: wrangler pages deploy ./arch-docs-output --project-name=gtd-spring-boot --branch=main