What problem does it solve? Publishing frontend changes to a self-hosted Alibaba Cloud lightweight server is slow and error-prone when done manually, especially when building locally and transferring large bundles across regions. This Skill automates the full release path: push to main, SSH into the server, pull the latest code, build on the server, sync the output, and reload the gateway. ## Core Features & Use Cases - Server-side build pipeline: Runs git fetch + reset --hard origin/main, npm ci, and ERA_BASE=/ npm run build directly on the server, avoiding slow cross-border rsync of local build artifacts. - Automated sync and reload: Syncs dist/ to /opt/era-web and reloads the era-gateway (Caddy) service, then verifies the site with curl. - Secrets and fallback handling: Loads Aliyun credentials from deploy/swas/server.secrets.env (gitignored) and provides a recovery path via cloud assistant when the SSH key fails. - Use Case: After a PR is merged into main, trigger the deployment and receive the HTTPS preview URL https://39.106.179.17.sslip.io/ to share with stakeholders. ## Quick Start Deploy the latest main branch to the self-hosted site and give me back the HTTPS URL.