From e0e12e3bd1b65e4b4e7a647be5a15738cb3af489 Mon Sep 17 00:00:00 2001 From: Christopher Whitley Date: Thu, 16 Nov 2023 01:55:19 -0500 Subject: [PATCH] NuGet Deploy only in craftworksgames repo --- .github/workflows/build-test-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 3de6861c..59159af3 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -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 }}