Automate Preact deployment with Firebase and Travis CI

Create firebase project

npm install -g firebase-tools

Setup Firebase

firebase login
firebase init

Create Travis YML file

Setup Firebase token in Travis

$ firebase login:ci 
Find your project
After FIREBASE_TOKEN variable is added

--

--

--

web developer obsessed by making web better ( focused on web perf and a11y )

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Stoyan Delev

Stoyan Delev

web developer obsessed by making web better ( focused on web perf and a11y )

More from Medium

Golang Tutorial Part #7 ~ Constants

Implementing partial auth with JWT in a Django/Ninja app

Deploy Your React Web App Like a Pro — Part 3

MySQL vs PostgreSQL