mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
refactor: move typedoc script into setup.mjs
This commit is contained in:
2
.github/workflows/github-pages.yml
vendored
2
.github/workflows/github-pages.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
run: bun install
|
||||
|
||||
- name: Build
|
||||
run: rm -rf sern-handler && git clone https://github.com/sern-handler/handler sern-handler && cd sern-handler && bun install && cd .. && bun run build
|
||||
run: bun run build
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[build]
|
||||
publish = "dist"
|
||||
command = "rm -rf sern-handler && git clone https://github.com/sern-handler/handler sern-handler && cd sern-handler && bun install && cd .. && bun run build"
|
||||
command = "bun run build"
|
||||
@@ -7,7 +7,8 @@
|
||||
"start": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
"astro": "astro",
|
||||
"postinstall": "bun run setup.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.5.10",
|
||||
|
||||
Reference in New Issue
Block a user