Skip to content

Commit

Permalink
Update send-message-to-teams.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tshanep authored Feb 8, 2024
1 parent cc5191f commit b681a83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/send-message-to-teams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
steps:
- name: Post Adaptive Card to Microsoft Teams
run: |
$sas="https://poweraccelerators.blob.core.windows.net/accelerators/simplefile.txt?se=2025-02-06T21%3A55%3A41Z&sp=r&sv=2022-11-02&sr=b&big=Yty8wka7nF5rqUnGjqFsPaaPRzryZ7DTmGtutqS2hY0%3D"
$sasTrimmed = $sas.Substring(8)
$sas="https://poweraccelerators.blob.core.windows.net/accelerators/simplefile.txt?se=2025-02-06T21%3A55%3A41Z&sp=r&sv=2022-11-02&sr=b&sig=Yty8wka7nF5rqUnGjqFsPaaPRzryZ7DTmGtutqS2hY0%3D"
$sasMod = $sas -replace 'sig=', 'big='
$body = @{
type = "message"
Expand All @@ -38,7 +38,7 @@ jobs:
@{
type = "Action.OpenUrl"
title = "Download Azure Blob File"
url = "$sas"
url = "$sasMod"
}
)
}
Expand Down

0 comments on commit b681a83

Please sign in to comment.