Skip to content

Commit 479cdbf

Browse files
committed
Publish packages to feedz.io
1 parent ecc0759 commit 479cdbf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,14 @@ jobs:
270270
run: |
271271
dotnet nuget add source --username 'json-api-dotnet' --password "$env:GITHUB_TOKEN" --store-password-in-clear-text --name 'github' 'https://nuget.pkg.github.com/json-api-dotnet/index.json'
272272
dotnet nuget push "$env:GITHUB_WORKSPACE/packages/*.nupkg" --api-key "$env:GITHUB_TOKEN" --source 'github'
273+
- name: Publish to feedz.io
274+
if: github.event_name == 'push' || github.event_name == 'release'
275+
env:
276+
FEEDZ_IO_API_KEY: ${{ secrets.FEEDZ_IO_API_KEY }}
277+
shell: pwsh
278+
run: |
279+
dotnet nuget add source --name 'feedz-io' 'https://f.feedz.io/json-api-dotnet/jsonapidotnetcore/nuget/index.json'
280+
dotnet nuget push "$env:GITHUB_WORKSPACE/packages/*.nupkg" --api-key "$env:FEEDZ_IO_API_KEY" --source 'feedz-io'
273281
- name: Publish documentation
274282
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
275283
uses: peaceiris/actions-gh-pages@v4

0 commit comments

Comments
 (0)