We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be6563 commit 0729655Copy full SHA for 0729655
.github/workflows/docs.yml
@@ -0,0 +1,38 @@
1
+name: Documentation
2
+on:
3
+ push:
4
+ branches: [main]
5
+
6
+jobs:
7
+ generate:
8
+ name: Generate documentation
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - uses: oven-sh/setup-bun@v1
14
+ with:
15
+ bun-version: latest
16
+ - run: bun install
17
+ - run: bun run docs
18
+ - uses: actions/upload-pages-artifact@v2
19
20
+ path: 'docs/'
21
22
+ deploy:
23
+ name: Deploy documentation site
24
+ needs: generate
25
26
27
+ permissions:
28
+ pages: write
29
+ id-token: write
30
31
+ environment:
32
+ name: github-pages
33
+ url: ${{ steps.deployment.outputs.page_url }}
34
35
36
+ - name: Deploy to GitHub Pages
37
+ id: deployment
38
+ uses: actions/deploy-pages@v2
0 commit comments