Skip to content

Commit c1db407

Browse files
committed
Add arch-docs workflow
1 parent 57b79b0 commit c1db407

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/arch-docs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Architecture Docs
2+
3+
on:
4+
push:
5+
branches: [main, master, canary]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build-and-deploy:
19+
runs-on: ubuntu-latest
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deploy.outputs.page_url }}
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- uses: supermodeltools/arch-docs@main
27+
id: docs
28+
with:
29+
supermodel-api-key: ${{ secrets.SUPERMODEL_API_KEY }}
30+
31+
- uses: actions/configure-pages@v5
32+
33+
- uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: ./arch-docs-output
36+
37+
- uses: actions/deploy-pages@v4
38+
id: deploy

0 commit comments

Comments
 (0)