Skip to content

Commit 8a62c7c

Browse files
committed
Refresh Bugster
1 parent e91f5e8 commit 8a62c7c

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

0 commit comments

Comments
 (0)