I'm having trouble deploying travis CI with firebase using these firebase commands:
firebase deploy --email ${FIREBASE_USERNAME} --password ${FIREBASE_PASSWORD}
firebase deploy --token ${FIREBASE_TOKEN}
It does not like --email
option and it does seem that it takes --token
but does not work with my firebase auth token I can get from my firebase app. What am I doing wrong?
The email option was removed in the 2.0 release of the CLI.
Use firebase login:ci
to generate a token.
- On a machine with a browser, install the Firebase CLI.
- Run firebase login:ci to log in and print out a new access token (the current CLI session will not be affected).
- Store the output token in a secure but accessible way in your CI system.