NuGet Deploy only in craftworksgames repo

This commit is contained in:
Christopher Whitley
2023-11-16 01:55:19 -05:00
parent f6a8cd6e69
commit e0e12e3bd1
+1 -1
View File
@@ -62,7 +62,7 @@ jobs:
# Pushes packages to nuget, but only if this is a tag release.
- name: "Push Packages (NuGet Feed)"
if: github.ref_type == 'tag'
if: github.ref_type == 'tag' && github.repository_owner == 'craftworkgames'
run: dotnet nuget push artifacts/*.nupkg --source ${NUGET_SOURCE_URL} --api-key ${NUGET_ACCESS_TOKEN}
env:
NUGET_ACCESS_TOKEN: ${{ secrets.NUGET_ACCESS_TOKEN }}