Skip to content

Commit 93b2526

Browse files
committed
Refresh Bugster
1 parent e8565c5 commit 93b2526

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,16 @@ jobs:
6666
- name: Push Elmah.Io.AspNetCore.HealthChecks to nuget.org
6767
run: dotnet nuget push src/Elmah.Io.AspNetCore.HealthChecks/bin/Release/Elmah.Io.AspNetCore.HealthChecks.5.3.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
6868
if: ${{ github.event_name == 'push' }}
69+
70+
- name: Refresh Bugster
71+
shell: pwsh
72+
env:
73+
FUNCTION_APP_URL: ${{ secrets.FUNCTION_APP_URL }}
74+
run: |
75+
$repoName = ($env:GITHUB_REPOSITORY -split '/')[1]
76+
$json = @{ repository = $repoName } | ConvertTo-Json -Compress
77+
curl --fail-with-body -X POST `
78+
-H "Content-Type: application/json" `
79+
-d "$json" `
80+
$env:FUNCTION_APP_URL
81+
if: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)