Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvLoadError ¶
func GetFileType ¶
GetFileType returns the content type of the file.
func GetPREvent ¶ added in v1.0.0
func GetPREvent() *github.PullRequestEvent
func GetPushEvent ¶ added in v1.0.0
func ParseGithubEvent ¶ added in v1.0.0
func ParseGithubEvent() interface{}
func RunCommand ¶ added in v0.4.0
Execute runs the process with the supplied environment.
Types ¶
type ProjectInfo ¶ added in v0.4.0
type ProjectInfo struct {
PrNumber int
RepoOwner string
Branch string
RepoName string
DistFolder string
Bucket string
IsBuild bool
CloudfrontId string // cloud front distribution id
}
func GetInfo ¶ added in v0.4.0
func GetInfo(repo ProjectInfo, action string) ProjectInfo
func GetPRInfo ¶ added in v0.3.0
func GetPRInfo(repo ProjectInfo) ProjectInfo
Click to show internal directories.
Click to hide internal directories.