class BranchDeploy

Overview

The BranchDeploy class represents the configuration for how runway should handle additional logic from https://github.com/github/branch-deploy requests For example, you may want to add a reaction to the comment that initially triggers the branch deploy request. You can configure that here.

Included Modules

Defined in:

runway/models/config.cr

Constant Summary

ALLOWED_REACTIONS = ["eyes", "rocket", "+1", "-1", "tada", "laugh", "confused", "heart"] of ::String

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def after_initialize #

[View source]
def branch_deploy_text : String | Nil #

branch_deploy_text defaults to "branch-deploy" and will likely never need to be set by the user


[View source]
def branch_deploy_text=(branch_deploy_text : String | Nil) #

branch_deploy_text defaults to "branch-deploy" and will likely never need to be set by the user


[View source]
def enabled : Bool | Nil #

[View source]
def enabled=(enabled : Bool | Nil) #

[View source]
def failure_reaction : String | Nil #

[View source]
def failure_reaction=(failure_reaction : String | Nil) #

[View source]
def remove_initial_reaction : Bool | Nil #

[View source]
def remove_initial_reaction=(remove_initial_reaction : Bool | Nil) #

[View source]
def success_reaction : String | Nil #

[View source]
def success_reaction=(success_reaction : String | Nil) #

[View source]