Add actions-admin-user to readme
This commit is contained in:
@@ -24,6 +24,8 @@ When there are machines which have access to both the public internet and the GH
|
||||
|
||||
**Arguments:**
|
||||
|
||||
- `actions-admin-user` _(optional)_
|
||||
The name of the Actions admin user, which will be used for updating the chosen action. If not specified `actions-admin` will be used. To disable the impersonation pass `-` as the value.
|
||||
- `cache-dir` _(required)_
|
||||
The directory in which to cache repositories as they are synced. This speeds up re-syncing.
|
||||
- `destination-url` _(required)_
|
||||
@@ -84,6 +86,8 @@ When no machine has access to both the public internet and the GHES instance:
|
||||
|
||||
**Arguments:**
|
||||
|
||||
- `actions-admin-user` _(optional)_
|
||||
The name of the Actions admin user, which will be used for updating the chosen action. If not specified `actions-admin` will be used. To disable the impersonation pass `-` as the value.
|
||||
- `cache-dir` _(required)_
|
||||
The directory containing the repositories fetched using the `pull` command.
|
||||
- `destination-url` _(required)_
|
||||
|
||||
@@ -39,7 +39,7 @@ func (f *PushFlags) Init(cmd *cobra.Command) {
|
||||
|
||||
func (f *PushOnlyFlags) Init(cmd *cobra.Command) {
|
||||
cmd.Flags().StringVar(&f.BaseURL, "destination-url", "", "URL of GHES instance")
|
||||
cmd.Flags().StringVar(&f.ActionsAdminUser, "actions-admin-user", "actions-admin", "The name of the Actions admin user. Pass '-' to disable the impersonation")
|
||||
cmd.Flags().StringVar(&f.ActionsAdminUser, "actions-admin-user", "actions-admin", "The name of the Actions admin user (pass '-' to disable the impersonation)")
|
||||
cmd.Flags().StringVar(&f.Token, "destination-token", "", "Token to access API on GHES instance")
|
||||
cmd.Flags().BoolVar(&f.DisableGitAuth, "disable-push-git-auth", false, "Disables git authentication whilst pushing")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user