在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用deploy-site
星标0
分支0
更新时间2026年5月8日 14:19
Deploy a site using the Appwrite CLI
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Deploy a site using the Appwrite CLI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | deploy-site |
| description | Deploy a site using the Appwrite CLI |
npm install -g appwrite-cli)appwrite loginappwrite initappwrite push sites
appwrite init sites
appwrite pull sites
Sites are configured in appwrite.config.json:
{
"projectId": "<PROJECT_ID>",
"endpoint": "https://<REGION>.cloud.appwrite.io/v1",
"sites": [
{
"$id": "<SITE_ID>",
"name": "My Site",
"enabled": true,
"logging": true,
"framework": "astro",
"timeout": 30,
"installCommand": "npm install",
"buildCommand": "npm run build",
"outputDirectory": "./dist",
"specification": "s-1vcpu-512mb",
"buildRuntime": "node-22",
"adapter": "ssr",
"fallbackFile": "",
"path": "sites/my-site"
}
]
}
appwrite push sites
Set up headless mode first:
appwrite client \
--endpoint https://<REGION>.cloud.appwrite.io/v1 \
--project-id <PROJECT_ID> \
--key <API_KEY>
Then deploy non-interactively:
# Push all sites
appwrite push sites --all --force
# Push a specific site
appwrite push sites --site-id <SITE_ID> --force
| Command | Description |
|---|---|
appwrite sites list | List all sites in the project |
appwrite sites create | Create a new site |
appwrite sites get --site-id <ID> | Get a site by ID |
appwrite sites update --site-id <ID> | Update a site |
appwrite sites delete --site-id <ID> | Delete a site |
appwrite sites list-frameworks | List available frameworks |
appwrite sites list-specifications | List allowed site specifications |
| Command | Description |
|---|---|
appwrite sites list-deployments --site-id <ID> | List all deployments |
appwrite sites create-deployment --site-id <ID> | Create a new deployment |
appwrite sites get-deployment --site-id <ID> --deployment-id <ID> | Get a deployment |
appwrite sites delete-deployment --site-id <ID> --deployment-id <ID> | Delete a deployment |
appwrite sites update-site-deployment --site-id <ID> --deployment-id <ID> | Set active deployment |
appwrite sites update-deployment-status --site-id <ID> --deployment-id <ID> | Cancel an ongoing build |
| Command | Description |
|---|---|
appwrite sites list-variables --site-id <ID> | List all variables |
appwrite sites create-variable --site-id <ID> --key <KEY> --value <VALUE> | Create a variable |
appwrite sites update-variable --site-id <ID> --variable-id <ID> --key <KEY> --value <VALUE> | Update a variable |
appwrite sites delete-variable --site-id <ID> --variable-id <ID> | Delete a variable |
Variables are accessible during build and runtime (server-side rendering) as environment variables.
| Command | Description |
|---|---|
appwrite sites list-logs --site-id <ID> | List site request logs |
appwrite sites get-log --site-id <ID> --log-id <ID> | Get a specific log |
appwrite sites delete-log --site-id <ID> --log-id <ID> | Delete a log |
| Command | Description |
|---|---|
appwrite sites list-templates | List available site templates |
appwrite sites get-template --template-id <ID> | Get template details |
appwrite sites create-template-deployment --site-id <ID> | Deploy from a template |