Skip to content

Commit

Permalink
Merge pull request #73 from BloodHoundAD/sleet_publish
Browse files Browse the repository at this point in the history
Publish packages to sleet repo
  • Loading branch information
rvazarkar authored Sep 26, 2023
2 parents 485054c + 7fc421c commit 264a01e
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 264a01e

Please sign in to comment.