From 4791a9bc4458fb2cf85028600038615928c26531 Mon Sep 17 00:00:00 2001 From: jmmendivil Date: Sat, 17 Oct 2020 09:38:53 -0500 Subject: [PATCH] doc: add --secret-file example (#395) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9107cd2..9243302 100644 --- a/README.md +++ b/README.md @@ -139,10 +139,11 @@ act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 # Secrets -To run `act` with secrets, you can enter them interactively or supply them as environment variables. The following options are available for providing secrets: +To run `act` with secrets, you can enter them interactively, supply them as environment variables or load them from a file. The following options are available for providing secrets: - `act -s MY_SECRET=somevalue` - use `somevalue` as the value for `MY_SECRET`. - `act -s MY_SECRET` - check for an environment variable named `MY_SECRET` and use it if it exists. If the environment variable is not defined, prompt the user for a value. +- `act --secret-file my.secrets` - load secrets values from `my.secrets` file. # Configuration