Fix: use INPUT

This commit is contained in:
Dorian Zedler 2023-08-25 23:18:58 +02:00
parent 284285c0f2
commit 751aebda05
Signed by: dorian
GPG key ID: 989DE36109AFA354

10
main.go
View file

@ -21,11 +21,11 @@ import (
// Args provides plugin execution arguments.
type Args struct {
Folder string `required:"true" envconfig:"INPUTS_FOLDER"`
SshKey string `envconfig:"INPUTS_SSH_KEY"`
GitRemote string `envconfig:"INPUTS_GIT_REMOTE"`
GitBranch string `envconfig:"INPUTS_GIT_BRANCH"`
Token string `envconfig:"INPUTS_TOKEN"`
Username string `envconfig:"INPUTS_USERNAME"`
SshKey string `envconfig:"INPUT_SSH_KEY"`
GitRemote string `envconfig:"INPUT_GIT_REMOTE"`
GitBranch string `envconfig:"INPUT_GIT_BRANCH"`
Token string `envconfig:"INPUT_TOKEN"`
Username string `envconfig:"INPUT_USERNAME"`
GithubToken string `envconfig:"GITHUB_TOKEN"`
GithubTokenActor string `envconfig:"GITHUB_ACTOR"`