deploy-context
Installation
SKILL.md
deploy-context
nao deploy packages the local project as a tar.gz and uploads it to <nao-url>/api/deploy. The remote instance extracts the archive, reads project_name from nao_config.yaml, and either creates the project (first deploy) or fully replaces the existing project's context folder (subsequent deploys). There is no merge — every deploy is a full replacement.
Goal of this skill: make every push to main trigger that deploy automatically, with zero secrets in the repo.
Reference: docs.getnao.io/nao-agent/cloud/deploy.
Prerequisites — confirm in one round
Ask all three at once:
- Remote instance URL —
https://app.getnao.io/(nao Cloud) or the self-hosted URL (e.g.https://nao.your-company.com). It must be reachable from GitHub-hosted runners. - Project repo — the GitHub repo that holds
nao_config.yamlat its root (or at a known subpath). Confirm it is committed tomainand pushed. Most of the time this is the repo in which the CI/CD (GitHub Actions) will run. - Who creates the API key — only an org admin can. If the user isn't, stop and ask them to get one from an admin before continuing.
Step 1 — Create the organization API key
In the deployed nao instance: