support bot site

This commit is contained in:
Lunny Xiao
2022-11-16 18:00:45 +08:00
committed by Jason Song
parent 7815eec33b
commit 113c3e98fb
3 changed files with 24 additions and 15 deletions

View File

@@ -56,9 +56,10 @@ type Config struct {
ReplaceGheActionWithGithubCom []string // Use actions from GitHub Enterprise instance to GitHub
ReplaceGheActionTokenWithGithubCom string // Token of private action repo on GitHub.
PresetGitHubContext *model.GithubContext // the preset github context, overrides some fields like DefaultBranch, Env, Secrets etc.
EventJSON string // the content of JSON file to use for event.json in containers, overrides EventPath
ContainerNamePrefix string // the prefix of container name
PresetGitHubContext *model.GithubContext // the preset github context, overrides some fields like DefaultBranch, Env, Secrets etc.
EventJSON string // the content of JSON file to use for event.json in containers, overrides EventPath
ContainerNamePrefix string // the prefix of container name
DefaultActionInstance string // the default actions web site
}
// Resolves the equivalent host path inside the container