Skip to content

Commit

Permalink
doc: add --secret-file example (RasaHQ#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmendivil authored Oct 17, 2020
1 parent 644bc2b commit 4791a9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4791a9b

Please sign in to comment.