updated github_actions_repo_env_set_secret.sh

pull/2/head
Hari Sekhon 3 years ago
parent 8acb254d1c
commit bfb649e7aa

@ -87,6 +87,8 @@ add_secret(){
# XXX: there is some kind of bug in GitHub CLI - the secret doesn't work when fed through stdin, only through --body
# https://github.com/cli/cli/issues/5031
#command gh secret set -R "$owner_repo" --env "$environment_name" "$key" <<< "$value"
# shellcheck disable=SC2154
# $value is defined in parse_export_key_value()
command gh secret set -R "$owner_repo" --env "$environment_name" "$key" --body "$value"
}

Loading…
Cancel
Save