Skip to content
1 min read

fj variable

Manage Actions variables

fj variable [OPTIONS] <COMMAND>

Every command also accepts the global flags: --host, --debug, --no-pager, --json-fields.

fj variable list

List Actions variables

fj variable list [OPTIONS]

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted

fj variable set

Set or replace a variable

fj variable set [OPTIONS] <NAME>

Arguments

  • <NAME> — Secret name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • -v, --value <VALUE> — Value (raw string). For multi-line secrets, prefer --from-file - and pipe stdin
  • -f, --from-file <FROM_FILE> — Read value from this file. Use - for stdin

fj variable delete

Delete a variable

fj variable delete [OPTIONS] <NAME>

Arguments

  • <NAME> — Secret name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • -y, --yes — Skip the confirmation prompt
Contributors
  • Stephen Way