Skip to content

Commit f88fa9d

Browse files
committed
fix: restore docs deployment workflow
The workflow was accidentally emptied in a previous commit. Remove committed build directory - CI will build and deploy.
1 parent c057ed5 commit f88fa9d

File tree

180 files changed

+54
-6089
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+54
-6089
lines changed

.github/workflows/docs.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
- '.github/workflows/docs.yml'
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
concurrency:
18+
group: pages
19+
cancel-in-progress: true
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- uses: oven-sh/setup-bun@v2
28+
with:
29+
bun-version: latest
30+
31+
- name: Install dependencies
32+
working-directory: docs
33+
run: bun install --frozen-lockfile
34+
35+
- name: Build
36+
working-directory: docs
37+
run: bun run build
38+
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v3
41+
with:
42+
path: docs/build
43+
44+
deploy:
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
needs: build
50+
steps:
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v4

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/node_modules
33

44
# Production
5+
/build
56

67
# Generated files
78
.docusaurus

docs/build/.nojekyll

Whitespace-only changes.

docs/build/404.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/build/assets/css/styles.614751f5.css

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Binary file not shown.

docs/build/assets/js/0793a908.596b370b.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/build/assets/js/079a82a3.00ec51de.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)