Skip to content

Commit

Permalink
Fix azure pipeline and download (#37)
Browse files Browse the repository at this point in the history
* remove deploy to azure static web app from azure pipeline

* fix download of files too
  • Loading branch information
paule96 authored Oct 8, 2023
1 parent 28dbb88 commit 8dc9844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,4 @@ stages:
templateLocation: 'Linked artifact'
csmFile: '$(Pipeline.Workspace)/drop/azuredeploy.json'
overrideParameters: '-name pajetestfileshare'
deploymentMode: 'Incremental'
- task: PowerShell@2
displayName: "Deploy static webapp"
inputs:
filePath: '$(Pipeline.Workspace)/drop/deploy.ps1'
arguments: '-Token $(staticWebSiteSecret) -appBuildOutput $(Pipeline.Workspace)/drop/Frontend.zip -apiBuildOutput $(Pipeline.Workspace)/drop/API.zip -branchName main -apiFramework "dotnetisolated" -apiFrameworkVersion "7.0" -Verbose'
deploymentMode: 'Incremental'
2 changes: 1 addition & 1 deletion src/CZ.Azure.FileExchange/Pages/Download.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private async Task LoadFiles()
}
}

private async Task<string> GetFileLink(string blobName, bool isArchived)
private string GetFileLink(string blobName, bool isArchived)
{
if (this.sasUrl is null)
{
Expand Down

0 comments on commit 8dc9844

Please sign in to comment.