Fix git access: clone from openclaw-vm via deploy keys, not k3s-mgr
This commit is contained in:
parent
b01326a3a9
commit
a1d9d89323
7 changed files with 89 additions and 16 deletions
|
|
@ -56,8 +56,7 @@ export PATH=$PATH:/usr/local/bin
|
|||
- **Repo:** `openclawd/docfast` on git.cloonar.com
|
||||
- **Push code:**
|
||||
```bash
|
||||
ssh k3s-mgr
|
||||
cd /tmp && git clone ssh://git@git.cloonar.com/openclawd/docfast.git
|
||||
cd /tmp && git clone forgejo-docfast:openclawd/docfast.git
|
||||
cd docfast && <make changes> && git add -A && git commit -m "..." && git push origin main
|
||||
```
|
||||
- **Push to main** → auto-deploys to staging
|
||||
|
|
|
|||
|
|
@ -18,9 +18,8 @@ export PATH=$PATH:/usr/local/bin
|
|||
|
||||
## Git Workflow
|
||||
```bash
|
||||
ssh k3s-mgr
|
||||
cd /tmp
|
||||
git clone ssh://git@git.cloonar.com/openclawd/<REPO>.git
|
||||
git clone forgejo-<PROJECT>:openclawd/<REPO>.git
|
||||
cd <REPO>
|
||||
# ... make changes ...
|
||||
git add -A && git commit -m "descriptive message" && git push origin main
|
||||
|
|
|
|||
|
|
@ -61,8 +61,7 @@ export PATH=$PATH:/usr/local/bin
|
|||
- **Repo:** `openclawd/SnapAPI` on git.cloonar.com
|
||||
- **Push code:**
|
||||
```bash
|
||||
ssh k3s-mgr
|
||||
cd /tmp && git clone ssh://git@git.cloonar.com/openclawd/SnapAPI.git
|
||||
cd /tmp && git clone forgejo-snapapi:openclawd/SnapAPI.git
|
||||
cd SnapAPI && <make changes> && git add -A && git commit -m "..." && git push origin main
|
||||
```
|
||||
- **Push to main** → auto-deploys to staging (CI/CD needs setup — same pattern as DocFast)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue