File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,15 +59,10 @@ jobs:
5959 run : dotnet nuget push src/Elmah.Io.NLog/bin/Release/Elmah.Io.NLog.6.0.${{ 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' }}
6161
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 = 'Elmah.Io.NLog' } | 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' }}
62+ - name : Refresh Bugster
63+ uses : elmahio/actions/refresh-bugster-repository@v1.2
64+ with :
65+ signing : ${{ secrets.BUGSTER_SIGNING_KEY }}
66+ url : ${{ secrets.FUNCTION_APP_URL }}
67+ repository : ${{ github.event.repository.name }}
68+ if : ${{ github.event_name == 'push' && github.ref_name == 'main' }}
You can’t perform that action at this time.
0 commit comments