Publish requires to be executed on server

This commit is contained in:
Keivn Sommer 2021-05-14 22:28:49 +02:00 committed by Keivn Sommer
parent d188bed4f0
commit 38af9af982

View File

@ -95,6 +95,7 @@ class Build : NukeBuild
Target Publish => _ => _
.DependsOn(Package)
.Requires(() => IsServerBuild)
.Requires(() => NUGET_API_KEY)
.Requires(() => Configuration.Equals(Configuration.Release))
.Executes(() =>