Skip to content

Commit 09ca720

Browse files
committed
Refresh Bugster
1 parent a159680 commit 09ca720

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
@@ -41,3 +41,16 @@ jobs:
4141
- name: Push to nuget.org
4242
run: dotnet nuget push src/Elmah.Io.Functions.Isolated/bin/Release/Elmah.Io.Functions.Isolated.5.3.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
4343
if: ${{ github.event_name == 'push' }}
44+
45+
- name: Refresh Bugster
46+
shell: pwsh
47+
env:
48+
FUNCTION_APP_URL: ${{ secrets.FUNCTION_APP_URL }}
49+
run: |
50+
$repoName = ($env:GITHUB_REPOSITORY -split '/')[1]
51+
$json = @{ repository = $repoName } | ConvertTo-Json -Compress
52+
curl --fail-with-body -X POST `
53+
-H "Content-Type: application/json" `
54+
-d "$json" `
55+
$env:FUNCTION_APP_URL
56+
if: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)