Method: Octokit::Client::ActionsSecrets#create_or_update_org_actions_secret

Defined in:
lib/octokit/client/actions_secrets.rb

#create_or_update_org_actions_secret(org, name, options) ⇒ Object

Create or update org secrets

Parameters:

  • org (String)

    A GitHub organization

  • name (String)

    Name of secret

  • options (Hash)

    encrypted_value and key_id

See Also:



85
86
87
# File 'lib/octokit/client/actions_secrets.rb', line 85

def create_or_update_org_actions_secret(org, name, options)
  put "#{Organization.path org}/actions/secrets/#{name}", options
end