Skip to content

Commit bb8cdaa

Browse files
committed
Refresh Bugster
1 parent fc10d72 commit bb8cdaa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,16 @@ jobs:
5858
- name: Push Elmah.Io.AspNetCore.ExtensionsLogging to nuget.org
5959
run: dotnet nuget push src/Elmah.Io.AspNetCore.ExtensionsLogging/bin/Release/Elmah.Io.AspNetCore.ExtensionsLogging.5.3.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
6060
if: ${{ github.event_name == 'push' }}
61+
62+
- name: Refresh Bugster
63+
shell: pwsh
64+
env:
65+
FUNCTION_APP_URL: ${{ secrets.FUNCTION_APP_URL }}
66+
run: |
67+
$repoName = ($env:GITHUB_REPOSITORY -split '/')[1]
68+
$json = @{ repository = $repoName } | ConvertTo-Json -Compress
69+
curl --fail-with-body -X POST `
70+
-H "Content-Type: application/json" `
71+
-d "$json" `
72+
$env:FUNCTION_APP_URL
73+
if: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)