Add VPS auto-deploy step to release command (v0.36.5)
Some checks failed
Go / build-and-release (push) Has been cancelled
Some checks failed
Go / build-and-release (push) Has been cancelled
- Add step 10 to /release command that SSHes to VPS (10.0.0.1) and runs deployment: git stash, git pull, rebuild web UI, restart service - Enables one-command releases with automatic production deployment Files modified: - .claude/commands/release.md: Add VPS deployment step - pkg/version/version: Bump to v0.36.5 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -42,7 +42,12 @@ If no argument provided, default to `patch`.
|
||||
git push gitea main --tags
|
||||
```
|
||||
|
||||
10. **Report completion** with the new version and commit hash
|
||||
10. **Deploy to VPS** by running:
|
||||
```
|
||||
ssh 10.0.0.1 'cd ~/src/next.orly.dev/;git stash;git pull origin main;./scripts/update-embedded-web.sh;sudo systemctl restart orly'
|
||||
```
|
||||
|
||||
11. **Report completion** with the new version and commit hash
|
||||
|
||||
## Important:
|
||||
- Do NOT push to github remote (only origin and gitea)
|
||||
|
||||
@@ -120,7 +120,11 @@
|
||||
"Bash(/tmp/orly help:*)",
|
||||
"Bash(git commit -m \"$(cat <<''EOF''\nAdd ORLY_POLICY_PATH for custom policy file location\n\n- Add ORLY_POLICY_PATH environment variable to configure custom policy\n file path, overriding the default ~/.config/ORLY/policy.json location\n- Enforce ABSOLUTE paths only - relay panics on startup if relative path\n is provided, preventing common misconfiguration errors\n- Update PolicyManager to store and expose configPath for hot-reload saves\n- Add ConfigPath() method to P struct delegating to internal PolicyManager\n- Update NewWithManager() signature to accept optional custom path parameter\n- Add BUG_REPORTS_AND_FEATURE_REQUEST_PROTOCOL.md with issue submission\n guidelines requiring environment details, reproduction steps, and logs\n- Update README.md with system requirements (500MB minimum memory) and\n link to bug report protocol\n- Update CLAUDE.md and README.md documentation for new ORLY_POLICY_PATH\n\nFiles modified:\n- app/config/config.go: Add PolicyPath config field\n- pkg/policy/policy.go: Add configPath storage and validation\n- app/handle-policy-config.go: Use policyManager.ConfigPath()\n- app/main.go: Pass cfg.PolicyPath to NewWithManager\n- pkg/policy/*_test.go: Update test calls with new parameter\n- BUG_REPORTS_AND_FEATURE_REQUEST_PROTOCOL.md: New file\n- README.md, CLAUDE.md: Documentation updates\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||||
"Bash(mkdir:*)",
|
||||
"Bash(ssh:*)"
|
||||
"Bash(ssh:*)",
|
||||
"Bash(export PATH=\"$HOME/go/bin:$HOME/.local/go/bin:/usr/local/go/bin:$PATH\")",
|
||||
"Bash(git commit -m \"$(cat <<''EOF''\nAdd VPS auto-deploy step to release command (v0.36.5)\n\n- Add step 10 to /release command that SSHes to VPS (10.0.0.1) and\n runs deployment: git stash, git pull, rebuild web UI, restart service\n- Enables one-command releases with automatic production deployment\n\nFiles modified:\n- .claude/commands/release.md: Add VPS deployment step\n- pkg/version/version: Bump to v0.36.5\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||||
"Bash(git config:*)",
|
||||
"Bash(git commit --no-gpg-sign -m \"$(cat <<''EOF''\nAdd VPS auto-deploy step to release command (v0.36.5)\n\n- Add step 10 to /release command that SSHes to VPS (10.0.0.1) and\n runs deployment: git stash, git pull, rebuild web UI, restart service\n- Enables one-command releases with automatic production deployment\n\nFiles modified:\n- .claude/commands/release.md: Add VPS deployment step\n- pkg/version/version: Bump to v0.36.5\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": []
|
||||
|
||||
@@ -1 +1 @@
|
||||
v0.36.4
|
||||
v0.36.5
|
||||
|
||||
Reference in New Issue
Block a user