The Workflow
git push. GitHub Actions handles deployment.
Register Components
Tell Edgit what files are components:Create Versions
Use semantic versioning (v..):components/prompts/my-prompt/v1.0.0(version tag)components/prompts/my-prompt/staging(environment tag)
components/prompts/) is automatically inferred from the component type.
Deploy to Environment
Mark which versions are deployed to which environments:components/prompts/my-prompt/prod that point to v1.0.0. Your CI/CD reads these tags.
When to Use —force
-
Version tags: No
--forceneeded. These are permanent markers. -
Environment tags:
--forcerequired when moving environments.

