Skip to content

Commit

Permalink
URL Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdriscoll committed Dec 3, 2024
1 parent 3aa38b3 commit 0f68e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ New-Item -Path /github/workspace/publish -ItemType Directory
New-ModuleManifest -Path /github/workspace/$name.psd1 -ModuleVersion $Version -Description $Description
$Package = Compress-PSResource -Path /github/workspace -DestinationPath /github/workspace/publish -PassThru

Invoke-WebRequest -Uri "$Url/api/v1/deployments" -Headers @{
Invoke-WebRequest -Uri "$Url/api/v1/deployment" -Headers @{
"Authorization" = "Bearer $AppToken"
} -InFile $Package -Method Put -ContentType "application/octet-stream"

0 comments on commit 0f68e82

Please sign in to comment.