Skip to content
This repository was archived by the owner on Mar 16, 2022. It is now read-only.

Commit 3467a60

Browse files
committed
intend
1 parent 1c31392 commit 3467a60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.vsts/v1_attribute/config-ci-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ phases:
4141

4242

4343
- powershell: |
44-
$username = $env:DeployUserName
45-
$password = $env:DeployPassword
46-
$filePath = "$($env:Build.ArtifactStagingDirectory)/artifact.zip"
47-
$apiUrl = "https://$($env:Parameters.WebAppName).scm.azurewebsites.net/api/zipdeploy"
48-
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username, $password)))
49-
$userAgent = "powershell/1.0"
50-
Invoke-RestMethod -Uri $apiUrl -Headers @{Authorization=("Basic {0}" -f $base64AuthInfo)} -UserAgent $userAgent -Method POST -InFile $filePath -ContentType "multipart/form-data"
51-
displayName: 'PowerShell Script'
44+
$username = $env:DeployUserName
45+
$password = $env:DeployPassword
46+
$filePath = "$($env:Build.ArtifactStagingDirectory)/artifact.zip"
47+
$apiUrl = "https://$($env:Parameters.WebAppName).scm.azurewebsites.net/api/zipdeploy"
48+
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username, $password)))
49+
$userAgent = "powershell/1.0"
50+
Invoke-RestMethod -Uri $apiUrl -Headers @{Authorization=("Basic {0}" -f $base64AuthInfo)} -UserAgent $userAgent -Method POST -InFile $filePath -ContentType "multipart/form-data"
51+
displayName: 'deploy'

0 commit comments

Comments
 (0)