rsxdalv/Ansible Deploy
Deploy a service via GitHub OIDC-authenticated webhook
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| webhook-url | Base URL of the deployment webhook (e.g. https://ansible.ttswebui.com) | yes | — |
| service | Name of the service to deploy, as registered in services.js on the server. Defaults to the calling repository name (without the org prefix). Use 'apt-install' to install any apt package without a dedicated services.js entry. | no | "" |
| version | Version string to deploy (e.g. 1.2.3 or a package version from a build step) | no | latest |
| package | Override the apt package name passed to Ansible. When omitted the package defaults to the service name. Required when service is 'apt-install' and the package name differs from the repo name. | no | "" |
| create-deployment | When 'true', creates a GitHub Deployment record before deploying and updates it (success/failure) after. Requires deployments: write permission on the calling job and a token input. | no | false |
| token | GITHUB_TOKEN for creating/updating GitHub Deployment records (required when create-deployment is true) | no | "" |
| env | GitHub Deployment environment name (used when create-deployment is true) | no | production |
| env-url | URL shown on the GitHub Deployments tab (optional, used when create-deployment is true) | no | "" |
Outputs
| name | description |
|---|---|
| response | JSON response body from the webhook |
| deployment-id | GitHub Deployment ID (only set when create-deployment is true) |