在写这篇文章的时候非常必要的,你应该能够使用Git部署应用程序引擎代码(我用它的几个应用引擎php项目)。
您可能遇到的常见错误是您的.yaml文件中有一个错误。您仍然可以提交和推送您的更改,但您的部署将失败。
这是从我的终端输出的时候我加了一些错误,我cron.yaml文件,并试图推动&部署
$ git push
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 336 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Storing objects: 100% (3/3), done.
remote: Processing commits: 100% (1/1), done.
remote: Triggering release (if applicable)...
remote: View results at:https://console.developers.google.com/project/.....(retracted)
remote: Running...
remote: Created deployment: appengineid.pipelines...(retracted)
remote: Dispatched
remote: Deployment failed. Details: Deployment failed, details: { Failed to load application, Line 3, column 26: Unable to find property 'alsdkjf;alksdfj schedule' on class: com.google.apphosting.utils.config.CronYamlReader$CronYaml, none
To https://source.developers.google.com/p/AppEngineId/r/default
8190aea..2dc6945 master -> master
你应该能够看到一个类似的错误,当你推,或者你可能没有正确设置git存储库。