diff --git a/README.md b/README.md index 0c06c3e..7aba8fb 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ act -v -q, --quiet disable logging of output from steps -r, --reuse reuse action containers to maintain state -s, --secret stringArray secret to make available to actions with optional value (e.g. -s mysecret=foo or -s mysecret) + --secret-file file with list of secrets to read from (e.g. --secret-file .secrets) -v, --verbose verbose output --version version for act -w, --watch watch the contents of the local repo and run when files change diff --git a/cmd/root.go b/cmd/root.go index 8b9bfe4..7b5a9ef 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -47,7 +47,7 @@ func Execute(ctx context.Context, version string) { rootCmd.PersistentFlags().BoolP("verbose", "v", false, "verbose output") rootCmd.PersistentFlags().BoolVarP(&input.noOutput, "quiet", "q", false, "disable logging of output from steps") rootCmd.PersistentFlags().BoolVarP(&input.dryrun, "dryrun", "n", false, "dryrun mode") - rootCmd.PersistentFlags().StringVarP(&input.secretfile, "secret-file", "", "", "file with list of secrets to read from") + rootCmd.PersistentFlags().StringVarP(&input.secretfile, "secret-file", "", "", "file with list of secrets to read from (e.g. --secret-file .secrets)") rootCmd.PersistentFlags().StringVarP(&input.envfile, "env-file", "", ".env", "environment file to read and use as env in the containers") rootCmd.SetArgs(args())