Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
permissions:
contents: read
deployments: write
pull-requests: write

env:
CARGO_TERM_COLOR: always
Expand Down
15 changes: 0 additions & 15 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,21 +174,6 @@ let config = config::load_config(args.config.as_deref())?;
- Wrap optional features with graceful fallbacks for network failures
- See `.env.example` for required environment variables template

### 1Password CLI Usage
Use `op run` with an env file to inject secrets from 1Password:
```bash
# Using .env.1password file (recommended)
op run --env-file=.env.1password --no-masking -- wrangler pages deploy dist --project-name md-book

# Or export env vars first, then use op run
export CLOUDFLARE_ACCOUNT_ID="op://TerraphimPlatform/md-book-cloudflare/account_id"
export CLOUDFLARE_API_TOKEN="op://TerraphimPlatform/md-book-cloudflare/api_token"
op run --no-masking -- wrangler pages deploy dist --project-name md-book
```
- Use `op://Vault/Item/field` syntax for secret references
- Secrets must be in env vars or `--env-file` before `op run` scans them
- `--no-masking` shows the actual output (useful for debugging)

## Deployment

See [DEPLOYMENT.md](DEPLOYMENT.md) for comprehensive deployment documentation including:
Expand Down
Loading