Skip to content

Commit

Permalink
feat: publish packages to new nuget repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Sep 26, 2023
1 parent 485054c commit 7fc421c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ jobs:
- name: Publish NuGet
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} --skip-duplicate

- name: Publish to SpecterOps Packages
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
run: |
dotnet tool install -g sleet
sleet push *.nupkg --skip-existing
ghpages:
name: ghpages
needs: nuget
Expand Down
11 changes: 11 additions & 0 deletions sleet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"sources": [
{
"name": "feed",
"type": "s3",
"path": "https://s3.amazonaws.com/bloodhound-ad",
"region": "us-east-1",
"bucketName": "bloodhound-ad"
}
]
}

0 comments on commit 7fc421c

Please sign in to comment.