mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Only allow commandine deployment to alpha
This commit is contained in:
parent
cacb5b0a64
commit
94e8c0fb99
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ ext.projectRootDir = "${rootDir}"
|
|||
task deploy {
|
||||
group = 'deployment'
|
||||
description = 'Deploys all services to App Engine.'
|
||||
if (rootProject.findProperty("environment") != 'alpha') {
|
||||
throw new GradleException("Can only deploy to alpha.");
|
||||
}
|
||||
}
|
||||
|
||||
task stage {
|
||||
|
|
Loading…
Add table
Reference in a new issue