← AppwriteCONTENT HISTORYWHAT CHANGED · RULE-BASED ANALYSIS
Update to Appwrite
Snapshot Sep 30, 2026 · 23:07 UTC · version 1.0.0
Collection source: not recorded for this historical snapshot.
First saved snapshot
No earlier snapshot is available to establish a change.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"name": "deploy-site",
"description": "Deploy a site using the Appwrite CLI",
"included_files": [],
"skill_md_contents": "---\r\nname: deploy-site\r\ndescription: Deploy a site using the Appwrite CLI\r\n---\r\n\r\n# Deploy a site using the Appwrite CLI\r\n\r\n## Prerequisites\r\n\r\n- Appwrite CLI installed (`npm install -g appwrite-cli`)\r\n- Authenticated with `appwrite login`\r\n- Project initialized with `appwrite init`\r\n\r\n## Quick Deploy\r\n\r\n```sh\r\nappwrite push sites\r\n```\r\n\r\n## Full Workflow\r\n\r\n### 1. Initialize a new site\r\n\r\n```sh\r\nappwrite init sites\r\n```\r\n\r\n### 2. Pull existing sites from Console\r\n\r\n```sh\r\nappwrite pull sites\r\n```\r\n\r\n### 3. Configuration\r\n\r\nSites are configured in `appwrite.config.json`:\r\n\r\n```json\r\n{\r\n \"projectId\": \"<PROJECT_ID>\",\r\n \"endpoint\": \"https://<REGION>.cloud.appwrite.io/v1\",\r\n \"sites\": [\r\n {\r\n \"$id\": \"<SITE_ID>\",\r\n \"name\": \"My Site\",\r\n \"enabled\": true,\r\n \"logging\": true,\r\n \"framework\": \"astro\",\r\n \"timeout\": 30,\r\n \"installCommand\": \"npm install\",\r\n \"buildCommand\": \"npm run build\",\r\n \"outputDirectory\": \"./dist\",\r\n \"specification\": \"s-1vcpu-512mb\",\r\n \"buildRuntime\": \"node-22\",\r\n \"adapter\": \"ssr\",\r\n \"fallbackFile\": \"\",\r\n \"path\": \"sites/my-site\"\r\n }\r\n ]\r\n}\r\n```\r\n\r\n### 4. Deploy\r\n\r\n```sh\r\nappwrite push sites\r\n```\r\n\r\n## CI/CD (Non-Interactive)\r\n\r\nSet up headless mode first:\r\n\r\n```sh\r\nappwrite client \\\r\n --endpoint https://<REGION>.cloud.appwrite.io/v1 \\\r\n --project-id <PROJECT_ID> \\\r\n --key <API_KEY>\r\n```\r\n\r\nThen deploy non-interactively:\r\n\r\n```sh\r\n# Push all sites\r\nappwrite push sites --all --force\r\n\r\n# Push a specific site\r\nappwrite push sites --site-id <SITE_ID> --force\r\n```\r\n\r\n## Site Management Commands\r\n\r\n| Command | Description |\r\n|---------|-------------|\r\n| `appwrite sites list` | List all sites in the project |\r\n| `appwrite sites create` | Create a new site |\r\n| `appwrite sites get --site-id <ID>` | Get a site by ID |\r\n| `appwrite sites update --site-id <ID>` | Update a site |\r\n| `appwrite sites delete --site-id <ID>` | Delete a site |\r\n| `appwrite sites list-frameworks` | List available frameworks |\r\n| `appwrite sites list-specifications` | List allowed site specifications |\r\n\r\n## Deployment Commands\r\n\r\n| Command | Description |\r\n|---------|-------------|\r\n| `appwrite sites list-deployments --site-id <ID>` | List all deployments |\r\n| `appwrite sites create-deployment --site-id <ID>` | Create a new deployment |\r\n| `appwrite sites get-deployment --site-id <ID> --deployment-id <ID>` | Get a deployment |\r\n| `appwrite sites delete-deployment --site-id <ID> --deployment-id <ID>` | Delete a deployment |\r\n| `appwrite sites update-site-deployment --site-id <ID> --deployment-id <ID>` | Set active deployment |\r\n| `appwrite sites update-deployment-status --site-id <ID> --deployment-id <ID>` | Cancel an ongoing build |\r\n\r\n## Environment Variables\r\n\r\n| Command | Description |\r\n|---------|-------------|\r\n| `appwrite sites list-variables --site-id <ID>` | List all variables |\r\n| `appwrite sites create-variable --site-id <ID> --key <KEY> --value <VALUE>` | Create a variable |\r\n| `appwrite sites update-variable --site-id <ID> --variable-id <ID> --key <KEY> --value <VALUE>` | Update a variable |\r\n| `appwrite sites delete-variable --site-id <ID> --variable-id <ID>` | Delete a variable |\r\n\r\nVariables are accessible during build and runtime (server-side rendering) as environment variables.\r\n\r\n## Logs\r\n\r\n| Command | Description |\r\n|---------|-------------|\r\n| `appwrite sites list-logs --site-id <ID>` | List site request logs |\r\n| `appwrite sites get-log --site-id <ID> --log-id <ID>` | Get a specific log |\r\n| `appwrite sites delete-log --site-id <ID> --log-id <ID>` | Delete a log |\r\n\r\n## Templates\r\n\r\n| Command | Description |\r\n|---------|-------------|\r\n| `appwrite sites list-templates` | List available site templates |\r\n| `appwrite sites get-template --template-id <ID>` | Get template details |\r\n| `appwrite sites create-template-deployment --site-id <ID>` | Deploy from a template |\r\n"
}SHA-256: 653631db4a4b42e97f5f712c4c670ff46a45f2a0f24919dbd6f0443a3c169b24