Skip to content

Commit 1304a26

Browse files
jhfclaude
andcommitted
docs(CLAUDE.md): Add direct deployment command
Document `git push origin master:devops/deploy-to-X` as the preferred CLI method for triggering deployments. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fe5aa53 commit 1304a26

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CLAUDE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,15 @@ The cloud infrastructure on **niue.statbus.org** uses **branches as pointers** f
125125
| master-to-production | devops/deploy-to-production || Pointer only |
126126
| production-to-all || all servers | Cascades to all |
127127

128+
### Triggering Deployment
129+
130+
```bash
131+
git push origin master:devops/deploy-to-no # Deploy master to Norway
132+
git push origin master:devops/deploy-to-dev # Deploy master to dev
133+
```
134+
135+
This directly updates the branch pointer, which triggers `deploy-to-X.yaml`. The `master-to-X` workflows in GitHub UI do the same thing but add an extra hop.
136+
128137
### Manual Server Access
129138

130139
```bash

0 commit comments

Comments
 (0)