Skip to content

Commit ceb66dc

Browse files
committed
Fix builds
1 parent f8d5031 commit ceb66dc

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Deploy SDK Docs
1+
name: Deploy Docs
22

33
on:
44
push:
55
branches: [main]
66
paths:
7-
- "sdk/**"
8-
- ".github/workflows/deploy-sdk-docs.yml"
7+
- "builder/**"
8+
- ".github/workflows/deploy-docs.yml"
99

1010
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1111
permissions:
@@ -22,7 +22,7 @@ concurrency:
2222
jobs:
2323
build:
2424
runs-on: ubuntu-latest
25-
name: Build SDK Documentation
25+
name: Build Documentation
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
@@ -38,19 +38,19 @@ jobs:
3838
node-version: 22
3939
cache: "pnpm"
4040

41-
- name: Install SDK dependencies
42-
run: pnpm install --frozen-lockfile --filter=./sdk
41+
- name: Install dependencies
42+
run: pnpm install --frozen-lockfile --filter=./builder
4343

44-
- name: Build SDK
45-
run: cd sdk && pnpm build
44+
- name: Build
45+
run: cd builder && pnpm build
4646

4747
- name: Setup Pages
4848
uses: actions/configure-pages@v4
4949

5050
- name: Upload artifact
5151
uses: actions/upload-pages-artifact@v3
5252
with:
53-
path: "sdk/dist/docs"
53+
path: "builder/dist/docs"
5454

5555
deploy:
5656
environment:

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-node@v4
2727
with:
2828
node-version: 20
29-
cache: 'pnpm'
29+
cache: "pnpm"
3030

3131
- name: Install dependencies
3232
run: pnpm install --frozen-lockfile
@@ -37,8 +37,8 @@ jobs:
3737
with:
3838
version: pnpm version-packages
3939
publish: pnpm release
40-
commit: 'chore: version packages'
41-
title: 'chore: version packages'
40+
commit: "chore: version packages"
41+
title: "chore: version packages"
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -54,8 +54,8 @@ jobs:
5454
version=$(echo "$package" | jq -r '.version')
5555
5656
# Determine package directory
57-
if [[ "$name" == "@plotday/sdk" ]]; then
58-
pkg_dir="sdk"
57+
if [[ "$name" == "@plotday/agent" ]]; then
58+
pkg_dir="builder"
5959
elif [[ "$name" == @plotday/tool-* ]]; then
6060
tool_name="${name#@plotday/tool-}"
6161
pkg_dir="tools/$tool_name"
@@ -64,7 +64,7 @@ jobs:
6464
continue
6565
fi
6666
67-
# Create tag name (e.g., sdk@0.9.1 or tool-google-calendar@0.1.0)
67+
# Create tag name (e.g., agent@0.9.1 or tool-google-calendar@0.1.0)
6868
tag_name="${pkg_dir//\//@}@${version}"
6969
7070
# Extract changelog entry for this version

0 commit comments

Comments
 (0)