instructions
然而,我的特拉维斯建筑之所以失败,是因为:
这个
成功但部署失败。Travis的firebase gem会忽略firebase.json中的宿主/公钥吗?
我的特拉维斯·伊姆
language: node_js
warnings_are_errors: false
node_js:
- '9'
before_script:
- export CI=false
cache:
yarn: true
directories:
- node_modules
before_deploy:
- yarn build
deploy:
provider: firebase
token:
secure: xxx
env:
global:
- secure: xxx
我的firebase.json
{
"database": {
"rules": "database.rules.json"
},
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}