class GitHubDeployment
- GitHubDeployment
- BaseEvent
- Reference
- Object
Defined in:
runway/events/github_deployment.crConstructors
Instance Method Summary
-
#check_for_event : Payload
Check for a GitHub deployment event in the specified environment This method uses post_deploy hooks to create a deployment status for the deployment after a deployment completes/fails
-
#post_deploy(payload : Payload) : Payload
This method is called after the project's deployment has completed It will create a GitHub deployment status that reflects the deployment's success or failure The deployment status to use comes from the Payload.status attribute (success or failure) @param payload [Payload] the payload object that contains the deployment status and other information @return [Payload] the payload object that was passed in with possibly updated information/attributes
Instance methods inherited from class BaseEvent
check_for_event : Payload
check_for_event,
post_deploy(payload : Payload) : Payload
post_deploy
Constructor methods inherited from class BaseEvent
new(log : Log, event : Event)
new
Constructor Detail
Instance Method Detail
Check for a GitHub deployment event in the specified environment This method uses post_deploy hooks to create a deployment status for the deployment after a deployment completes/fails
This method is called after the project's deployment has completed It will create a GitHub deployment status that reflects the deployment's success or failure The deployment status to use comes from the Payload.status attribute (success or failure) @param payload [Payload] the payload object that contains the deployment status and other information @return [Payload] the payload object that was passed in with possibly updated information/attributes