Skip to content

Commit 8dc9844

Browse files
authored
Fix azure pipeline and download (#37)
* remove deploy to azure static web app from azure pipeline * fix download of files too
1 parent 28dbb88 commit 8dc9844

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,4 @@ stages:
148148
templateLocation: 'Linked artifact'
149149
csmFile: '$(Pipeline.Workspace)/drop/azuredeploy.json'
150150
overrideParameters: '-name pajetestfileshare'
151-
deploymentMode: 'Incremental'
152-
- task: PowerShell@2
153-
displayName: "Deploy static webapp"
154-
inputs:
155-
filePath: '$(Pipeline.Workspace)/drop/deploy.ps1'
156-
arguments: '-Token $(staticWebSiteSecret) -appBuildOutput $(Pipeline.Workspace)/drop/Frontend.zip -apiBuildOutput $(Pipeline.Workspace)/drop/API.zip -branchName main -apiFramework "dotnetisolated" -apiFrameworkVersion "7.0" -Verbose'
151+
deploymentMode: 'Incremental'

src/CZ.Azure.FileExchange/Pages/Download.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private async Task LoadFiles()
3030
}
3131
}
3232

33-
private async Task<string> GetFileLink(string blobName, bool isArchived)
33+
private string GetFileLink(string blobName, bool isArchived)
3434
{
3535
if (this.sasUrl is null)
3636
{

0 commit comments

Comments
 (0)