Google App Engine Flexible - environment variables

后端 未结 1 921
囚心锁ツ
囚心锁ツ 2021-01-06 16:03

if I have my circle-ci deplying to google with e.g. \'gcloud app deploy app.yaml\' is there a simple way I can pass a dev / prod variable and have it replaced in my app.yml

相关标签:
1条回答
  • 2021-01-06 16:13

    Sadly there really isn't a good way to do this. I'd actually suggest not using app.yaml for this purpose, and instead using a json file and nconf. That's how we do it in all of our nodejs samples.

    Hope this helps!

    0 讨论(0)
提交回复
热议问题