diff --git a/.github/workflows/UploadAndNotify.yml b/.github/workflows/UploadAndNotify.yml index 7779b49..cf198ca 100644 --- a/.github/workflows/UploadAndNotify.yml +++ b/.github/workflows/UploadAndNotify.yml @@ -36,6 +36,7 @@ jobs: $blobUrl = az storage blob url --account-name poweraccelerators --container-name accelerators --name simplefile.txt --account-key ${{ secrets.AZURE_STORAGE_KEY }} --output tsv echo "Blob URL: $blobUrl" echo "BLOB_URL=$blobUrl" >> $GITHUB_ENV + $combinedUrl = "$blobUrl?$sas" $body = @{ type = "message" @@ -50,14 +51,14 @@ jobs: body = @( @{ type = "TextBlock" - text = "$sas" + text = "File uploaded successfully to Azure Storage. Click the button to access it." } ) actions = @( @{ type = "Action.OpenUrl" title = "Download Azure Blob File" - url = "$sas" + url = $combinedUrl } ) }