This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-skills/DEPLOY.md
T
OpenClaw Agent 7e0acef4f9 feat: add skills and workspace files
- Add complete skill set including feishu, github, ci-gen, etc.
- Add workspace documentation (AGENTS.md, SOUL.md, etc.)
- Add memory system and project context
2026-02-06 19:14:24 +08:00

71 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Obsidian-KB Git 部署指南
## 当前状态
✅ 本地代码已提交(commit: `f26d4d8`)
❌ 服务器连接问题(SSH 22 端口超时,2222 端口可连接但认证失败)
## 推荐操作
### 方案 1:服务器推送
1. 在服务器上克隆仓库
2. 推送到 Gitea
```bash
# 1. 登录服务器
ssh sc-gitea@47.243.57.130 -p 2222
# 2. 创建目录
mkdir -p ~/openclaw-skills
cd ~/openclaw-skills
# 3. 初始化 Git(如果需要,可以从这里 clone)
# 或者手动上传本地提交的文件
# 4. 推送到 Gitea(需要配置 HTTPS 或 SSH)
git remote add origin http://你的用户名:micecola.top/starmen1265/openclaw-skills.git
git push -u origin master
```
### 方案 2:修复服务器 SSH
检查服务器上的 SSH/Gitea 配置:
```bash
# SSH 服务
systemctl status sshd
netstat -tuln | grep 22
cat /etc/ssh/sshd_config | grep Port
# Gitea 服务
systemctl status gitea
cat /var/lib/gitea/custom/conf/app.ini | grep -i ssh
```
### 方案 3:使用 HTTPS 推送
如果你有 Gitea 的访问令牌:
```bash
# 创建访问令牌:Gitea -> 设置 -> 应用程序 -> 生成新令牌
# 赋予 repo 权限
# 推送
git remote set-url origin https://你的用户名:你的令牌@47.243.57.130:2222/starmen1265/openclaw-skills.git
git push -u origin master
```
## 本地仓库信息
- 仓库地址: `/home/admin/.openclaw/workspace`
- 远程地址: `sc-gitea@micecola.top:starmen1265/openclaw-skills.git`
- 提交 ID: `f26d4d8f7f522538ed037b2709efeca61f5d0edc`
- 包含文件: 37 个,6414 行新增
## 下一步
1. 确认服务器 Gitea 配置
2. 修复 SSH 连接(或使用 HTTPS)
3. 推送代码到远程仓库