【发布时间】:2018-12-09 02:23:53
【问题描述】:
我尝试使用 gitlab 管道在 Firebase 上部署我的 Angular 应用程序。
我遵循了这个guide 并编写了一个更简化的 gitlab-ci 文件以供启动。
image: node:latest
cache:
paths:
- node-modules/
stages:
- deploy
deploy:
stage: deploy
environment:
name: development
script:
- npm install -g firebase-tools
- npm install
- npm run builddev
- npm run deploy
only:
- master
当我遇到此错误时,一切正常,直到最后一个命令
但如果我从终端运行
firebase 部署 --project test-1c121
一切正常
【问题讨论】:
标签: firebase gitlab gitlab-ci continuous-deployment