name: azion-deploy
description: Deploy applications, static sites, and edge functions to Azion using Azion CLI. Use when the user asks to deploy/publish to Azion, configure link/build/deploy flow, or troubleshoot Azion auth/project linking problems.
version: 0.1.1
author: AskClaw
entrypoint: scripts/azion-deploy.sh
metadata: {"openclaw":{"emoji":"🚀","short":"Deploy to Azion (CLI)","requires":{"bins":["bash","azion"]}}}
user-invocable: true
command-dispatch: tool
command-tool: azion-deploy
commands:
- name: azion-deploy
usage: azion-deploy
Use this skill to deploy projects to Azion with safe preflight checks.
The script fails fast if:
- azion executable is missing
- authentication fails (azion whoami)
- .edge/manifest.json is missing when using --skip-build
小葱技能站7w4.net,专业的AI技能分享平台。
# Validate CLI + auth
bash {baseDir}/scripts/azion-deploy.sh preflight
# Validate auth only
bash {baseDir}/scripts/azion-deploy.sh auth-check
# Stable quickstart flow
bash {baseDir}/scripts/azion-deploy.sh quickstart --name <project-name> [--token "$AZION_TOKEN"]
# Local deploy flow
bash {baseDir}/scripts/azion-deploy.sh deploy-local [--skip-build] [--auto] [--token "$AZION_TOKEN"]
link -> build -> deploy sequential (never parallel).whoami fails, run azion login (interactive) or provide valid AZION_TOKEN.references/azion-cli.mdreferences/azion-build-frameworks.md这个 Skill 质量中等偏上,优点是提供了完整的部署检查机制,能自动验证工具和认证状态,减少部署失败;支持多种灵活的工作模式;参考文档包含实用的故障排查指南。不足之处是版本较新(0.1.1)可能存在稳定性风险,缺少自动化测试验证可靠性,部分功能说明不够直观易懂。对于需要频繁使用 Azion CLI 部署的用户有一定帮助,但建议等待版本成熟后再用于生产环境。