Skip to content

Google Cloud Help

Nikola edited this page Oct 31, 2018 · 3 revisions

gcloud app deploy

To deploy a single service, run: $ gcloud app deploy ~/my_app/app.yaml`

To deploy an App Engine Standard Java service, run: $ gcloud app deploy ~/my_app/WEB-INF/appengine-web.xml`

By default, the service is deployed the current project configured via:` $ gcloud config set core/project PROJECT`

To override this value for a single deployment, use the --project flag:` $ gcloud app deploy ~/my_app/app.yaml --project=PROJECT`

To deploy multiple services, run: $ gcloud app deploy ~/my_app/app.yaml ~/my_app/another_service.yaml

To change the default --promote behavior for your current environment, run: $ gcloud config set app/promote_by_default false

This variant is also available: > $ gcloud beta app deploy