Skip to content

Commit 5d67880

Browse files
committed
[FIX] GitHub Pages 경로 및 워크플로우 수정
- basePath를 /claudeship으로 수정 - pnpm workspace 방식으로 빌드 명령어 변경 - README URL 경로 수정
1 parent 5d660c6 commit 5d67880

2 files changed

Lines changed: 4 additions & 37 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66
paths:
77
- 'docs/**'
8+
- '.github/workflows/docs.yml'
89
workflow_dispatch:
910

1011
permissions:
@@ -19,9 +20,6 @@ concurrency:
1920
jobs:
2021
build:
2122
runs-on: ubuntu-latest
22-
defaults:
23-
run:
24-
working-directory: docs
2523
steps:
2624
- name: Checkout
2725
uses: actions/checkout@v4
@@ -37,16 +35,16 @@ jobs:
3735
- name: Install dependencies
3836
run: pnpm install
3937

40-
- name: Build
41-
run: pnpm build
38+
- name: Build docs
39+
run: pnpm --filter @claudeship/docs build
4240

4341
- name: Setup Pages
4442
uses: actions/configure-pages@v4
4543

4644
- name: Upload artifact
4745
uses: actions/upload-pages-artifact@v3
4846
with:
49-
path: docs/out
47+
path: ./docs/out
5048

5149
deploy:
5250
environment:

README.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -236,38 +236,7 @@ Contributions are welcome! Please follow the commit message convention:
236236
```
237237

238238
**Types**: `FEAT`, `FIX`, `DOCS`, `STYLE`, `REFACTOR`, `TEST`, `CHORE`, `PERF`, `CI`, `BUILD`
239-
240239
---
241-
242-
## Releasing
243-
244-
Releases are automated via GitHub Actions. When you create a GitHub release:
245-
246-
1. **Create a release** on GitHub with a tag like `v1.0.0`
247-
2. **GitHub Actions automatically**:
248-
- Builds the project
249-
- Updates package.json version from the tag
250-
- Publishes to npm
251-
252-
### Manual Release
253-
254-
```bash
255-
# Bump version
256-
npm version patch # or minor, major
257-
258-
# Push with tags
259-
git push && git push --tags
260-
```
261-
262-
### Required Secrets
263-
264-
For npm publishing, add `NPM_TOKEN` to your repository secrets:
265-
266-
1. Generate token at [npmjs.com/settings/tokens](https://www.npmjs.com/settings/tokens)
267-
2. Add to GitHub: Settings → Secrets → Actions → `NPM_TOKEN`
268-
269-
---
270-
271240
## License
272241

273242
MIT

0 commit comments

Comments
 (0)