在寫這篇文章的時候非常必要的,你應該能夠使用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存儲庫。