Skip to content

Commit 14cd973

Browse files
author
SIN-Agent
committed
chore: add docs build and deploy scripts
1 parent f162735 commit 14cd973

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

bunfig.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
shell = "system"
3+
bun = false

scripts/build-docs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
exec node node_modules/vitepress/bin/vitepress.js build docs

scripts/deploy-docs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
exec ./node_modules/.bin/wrangler pages deploy docs/.vitepress/dist --project-name opensin-docs --commit-dirty=true

0 commit comments

Comments
 (0)