Skip to content

Commit 8af315e

Browse files
committed
fix(docs): add docs workspace and base path for GitHub Pages
1 parent 23ce058 commit 8af315e

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
run: bun install
2727
- name: Build docs
2828
run: bun run docs:build
29-
working-directory: docs
3029
- name: Upload artifact
3130
uses: actions/upload-pages-artifact@v3
3231
with:

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "spectra-docs",
23
"private": true,
34
"type": "module",
45
"scripts": {

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
"packageManager": "bun@1.3.11",
66
"workspaces": [
77
"packages/*",
8-
"apps/*"
8+
"apps/*",
9+
"docs"
910
],
1011
"scripts": {
1112
"build": "turbo build",
1213
"test": "turbo test",
1314
"lint": "turbo lint",
1415
"dev": "turbo dev",
16+
"docs:build": "bun run --cwd docs docs:build",
1517
"version": "changeset version && bun install",
1618
"release": "bun run resolve-workspace-deps && changeset publish",
1719
"resolve-workspace-deps": "node scripts/resolve-workspace-deps.mjs",

0 commit comments

Comments
 (0)