【发布时间】:2018-12-12 17:02:08
【问题描述】:
我正在尝试将 travis ci 集成到我的 firebase 应用程序中以自动部署,但它无法显示 401 错误。这是我的 .travis.yml
language: node_js
node_js:
- '8'
deploy:
provider: firebase
token:
secure: "BnzKtrzBaI/uLHoezYpBVqQ/VwhIyil...n0jAuBNrTI="
message: build $TRAVIS_BUILD_NUMBER $TRAVIS_BRANCH/$COMMIT_HASH
我收到以下错误:
Error: HTTP Error: 401, Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
我不确定出了什么问题。
【问题讨论】:
标签: firebase travis-ci firebase-hosting firebase-cli