Skip to content

Commit d2e707b

Browse files
author
StackMemory Bot (CLI)
committed
docs(claude): add deploy instructions for npm publish and Railway
1 parent 178eea7 commit d2e707b

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,22 @@ Environment sources (check in order):
114114

115115
Secret patterns to block: lin_api_* | lin_oauth_* | sk-* | npm_*
116116

117+
## Deploy
118+
119+
```bash
120+
# npm publish (uses NPM_TOKEN from .env, no OTP needed)
121+
git stash -- scripts/gepa/ # stash GEPA state (dirties working tree)
122+
NPM_TOKEN=$(grep '^NPM_TOKEN=' .env | cut -d= -f2) \
123+
npm publish --registry https://registry.npmjs.org/ \
124+
--//registry.npmjs.org/:_authToken="$NPM_TOKEN"
125+
git stash pop # restore GEPA state
126+
127+
# Railway
128+
railway up
129+
130+
# Pre-publish checks require clean git status — stash GEPA files first
131+
```
132+
117133
## Workflow
118134

119135
- Check .env for API keys before asking

0 commit comments

Comments
 (0)