0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-25 09:20:39 +00:00

Ability to use GITHUB_TOKEN as secret

This commit is contained in:
Brad Rydzewski 2016-09-30 13:15:43 -04:00 committed by GitHub
parent a871482c4a
commit 22db67489d

View File

@ -21,7 +21,7 @@ func main() {
cli.StringFlag{ cli.StringFlag{
Name: "api-key", Name: "api-key",
Usage: "api key to access github api", Usage: "api key to access github api",
EnvVar: "PLUGIN_API_KEY,GITHUB_RELEASE_API_KEY", EnvVar: "PLUGIN_API_KEY,GITHUB_RELEASE_API_KEY,GITHUB_TOKEN",
}, },
cli.StringSliceFlag{ cli.StringSliceFlag{
Name: "files", Name: "files",