Publish your project to anfra Cloud
Sign in from the CLI and run anfra publish: your models and data apps go live for your organization at once.
Build locally with anfra, then sign in to your organization and publish:
anfra auth login https://us.anfra.ai/o/acme
anfra publishanfra auth login opens your browser to approve the CLI for one organization. anfra publish sends your project's .aml files and everything under apps/, and nothing else: no hidden files, no credentials.
What a publish does
- It is validated twice. The CLI checks your project before uploading it, and anfra Cloud checks it again. If anything fails, nothing changes.
- It goes live at once. Your team queries the new version as soon as the publish returns.
- It replaces the whole project. A file you no longer have is removed.
- It doesn't overwrite by surprise. If someone else published since you last did, the CLI asks before replacing their work.
Each publish is kept as a version, with who published it and their message. Browsing earlier versions isn't built yet.