Skip to content

Commit

Permalink
remove deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Oct 26, 2023
1 parent 2284336 commit 9ee130e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 124 deletions.
37 changes: 0 additions & 37 deletions src/GitHub/public/Deployments/Get-GitHubEnvironment.ps1

This file was deleted.

49 changes: 0 additions & 49 deletions src/GitHub/public/Deployments/Get-GitHubEnvironmentSecrets.ps1

This file was deleted.

36 changes: 0 additions & 36 deletions src/GitHub/public/Deployments/Update-GitHubEnvironment.ps1

This file was deleted.

4 changes: 2 additions & 2 deletions tools/utilities/GitHubAPI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ $response = Invoke-RestMethod -Uri $APIDocURI -Method Get
# @{n = 'PUT'; e = { (($_.value.psobject.Properties.Name) -contains 'PUT') } }, `
# @{n = 'PATCH'; e = { (($_.value.psobject.Properties.Name) -contains 'PATCH') } } | Format-Table

$path = '/repos/{owner}/{repo}/actions/runs/{run_id}'
$method = 'delete'
$path = '/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}'
$method = 'get'
$response.paths.$path.$method
$response.paths.$path.$method.tags | clip # -> Namespace/foldername
$response.paths.$path.$method.operationId | clip # -> FunctionName
Expand Down

0 comments on commit 9ee130e

Please sign in to comment.