module Octokit::Client::ActionsSecrets
def create_or_update_actions_environment_secret(repo, environment, name, options)
- See: https://docs.github.com/en/rest/actions/secrets#create-or-update-an-environment-secret -
Parameters:
-
options(Hash) -- encrypted_value and key_id -
name(String) -- Name of secret -
environment(String) -- Name of environment -
repo(Integer, String, Hash, Repository) -- A GitHub repository
def create_or_update_actions_environment_secret(repo, environment, name, options) put "#{Repository.path repo}/environments/#{environment}/secrets/#{name}", options end