Skip to content

Commit

Permalink
Update UploadAndNotify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tshanep authored Feb 7, 2024
1 parent b9c10fc commit e48ba06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/UploadAndNotify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
run: |
$expiry = (Get-Date).AddDays(365).ToString("yyyy-MM-ddTHH:mm:ssZ")
$sas = az storage blob generate-sas --account-name poweraccelerators --container-name accelerators --name simplefile.txt --permissions r --expiry $expiry --account-key ${{ secrets.AZURE_STORAGE_KEY }} --output json
$sas = $sas -replace '^"|"$', ''
echo "SAS JSON: $sas"
$sas = $sas -replace '^"|"$', ''
echo "SAS JSON Quotes Removed: $sas"
echo "SAS_TOKEN=$sas" >> $GITHUB_ENV
$blobUrl = az storage blob url --account-name poweraccelerators --container-name accelerators --name simplefile.txt --account-key ${{ secrets.AZURE_STORAGE_KEY }} --output tsv
Expand Down

0 comments on commit e48ba06

Please sign in to comment.