diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be378cd4..9bd044e4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/sleet.json b/sleet.json new file mode 100644 index 00000000..67932d2e --- /dev/null +++ b/sleet.json @@ -0,0 +1,11 @@ +{ + "sources": [ + { + "name": "feed", + "type": "s3", + "path": "https://s3.amazonaws.com/bloodhound-ad", + "region": "us-east-1", + "bucketName": "bloodhound-ad" + } + ] +} \ No newline at end of file