【发布时间】:2020-06-18 11:47:32
【问题描述】:
当提交在 master 上时,我正在使用 Google Cloud Build 部署到 Firebase Hosting。我正在使用部署到我的项目中的Firebase Cloud Builder。我在 Cloud Console 中检查了权限并启用了 Firebase 访问。
生成用于托管的静态 HTML 似乎一切顺利,但在最后的构建步骤中,它突然因以下问题而失败:
Error: An unexpected error has occurred.
这是我的 cloudbuild.yaml 中失败的步骤:
- name: gcr.io/$PROJECT_ID/firebase
args: ['deploy', '--project', '$PROJECT_ID']
id: Deploy to Firebase
【问题讨论】:
标签: firebase google-cloud-platform google-cloud-build