skyhook-io/Skyhook Parse Deploy Config Source
Parse deployment configuration source string into repo, ref, and path components
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source | Deployment config source in format: [<repo>][@<ref>][:<path>] All parts are optional and can be omitted: - repo: "self" for current repo, or "owner/repo" (defaults to "self") - @ref: branch/tag (defaults to current ref for self, default branch for others) - :path: path to service/app directory (defaults to ".") The action expects deployment configs to be in <path>/deploy/overlays/<env> Examples: "" # self, current ref, path="." self # self, current ref, path="." @main # self, main branch, path="." :services/api # self, current ref, path="services/api" @main:services/api # self, main branch, path="services/api" self:services/api # self, current ref, path="services/api" Acme/deployments # external repo, default branch, path="." Acme/deployments@main:services/api # external repo, main branch, path="services/api" | yes | — |
| environment | The deployment environment (e.g., dev, staging, prod) | no | — |
Outputs
| name | description |
|---|---|
| repository | The parsed repository (owner/repo format) |
| ref | The parsed git ref (branch or tag) |
| path | The parsed path to service/app deployment directory |
| is_self | Whether this is the current repository (true/false) |
| overlay_dir | The full path to the overlay directory for the environment (only set if environment input is provided) |
| is_separate_deploy_repo | Whether the deployment repo is different from the current repository (true/false) |