【发布时间】:2019-06-11 15:52:14
【问题描述】:
我正在尝试 GitLab 作为我的第一个示例。 我在这里看不到错误在哪里:
这适用于在 gitlab 上运行 firebase、vue.js、node.js 的 windows
image: node:alpine
cache:
paths:
- node_modules/
deploy_production:
stage: deploy
environment: Production
only:
- master
script:
- npm install
- npm i -g firebase tools
- npm run build
- firebase deploy --non-interactive --token "1/CYHKW-CuYsKOcy2Eo6_oC9akwGjyqtmtRZok93xb5VY"
此 GitLab CI 配置无效:jobs:deploy_production 脚本 不能为空
【问题讨论】: