Skip to content

Commit 36d14db

Browse files
committed
Refresh Bugster
1 parent e1beb94 commit 36d14db

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
@@ -48,3 +48,16 @@ jobs:
4848
- name: Push
4949
run: dotnet nuget push src/Elmah.Io.OpenTelemetry/bin/Release/Elmah.Io.OpenTelemetry.5.3.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
5050
if: ${{ github.event_name == 'push' }}
51+
52+
- name: Refresh Bugster
53+
shell: pwsh
54+
env:
55+
FUNCTION_APP_URL: ${{ secrets.FUNCTION_APP_URL }}
56+
run: |
57+
$repoName = ($env:GITHUB_REPOSITORY -split '/')[1]
58+
$json = @{ repository = $repoName } | ConvertTo-Json -Compress
59+
curl --fail-with-body -X POST `
60+
-H "Content-Type: application/json" `
61+
-d "$json" `
62+
$env:FUNCTION_APP_URL
63+
if: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)