Starter project for Tanam CMS
Fork or clone this repository and update .firebaserc
with your own project ID.
After that, follow the instructions on setting up your Firebase project as described in the official Tanam documentation.
Create a authentication token for non-interactive deployment with Firebase
$ firebase login:ci
You will be prompted to open a URL in the browser where you login using the account that has access to your Firebase project.
After successfully loggin in, copy the auth token that is prompted in your terminal window. It should look something like this
1/pZQgDFG9G89sdfjsdf0Fz_g9dfma7_zH0sdfi9snfY
Create the environment variables mentioned below in your project settings and enable the build pipeline to run on each update to the repository.
FIREBASE_DEPLOY_KEY
- The authentication token mentioned aboveFIREBASE_PROJECT_ID
- Your firebase project ID
Create environment variables in your project settings and enable the build pipeline to run on each update to the repository.
FIREBASE_DEPLOY_KEY
- The authentication token mentioned aboveFIREBASE_PRODUCTION_PROJECT_ID
- Your firebase production project IDFIREBASE_DEVELOP_PROJECT_ID
- Your firebase development project ID