title: How to deploy firebase functions using github
body: <p>Actually it linked to my previously asked <a href="https://stackoverflow.com/questions/42726310/how-to-test-firebase-functions-locally-on-pc">question</a> in which i asked for local deployment of firebase functions, because it takes too time(due to slow network) and resources in deploying each time,</p>
  
  <p>then I got an idea,<br>
  <strong>Heroku</strong> and other platforms provides <strong>Automatic Deployment</strong> feature with <strong>Github and Dropbox</strong>, so when i push code in specified branch it deploy it automatically and I used it many times, it is awesome</p>
  
  <p><a href="https://i.stack.imgur.com/KrdSb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KrdSb.png" alt="enter image description here"></a></p>
  
  <p>I thought that if I push(which is very light weight, in sense of both time and resources) code on GitHub and Firebase automatically deploy it, it will be wonderful for me, then i will make a spare branch (e.g: dev-branch) and continuously push my changes in it to see in action (i already have a quick way to push code on github)</p>
  
  <p>So how can i deploy firebase functions using Github,<br>
  Either this facility is already available in firebase,<br> 
  if not available then can i do it myself(by using github developer tool etc.)?</p>
  
  <p>Thankyou,<br>
  Inzamam Malik.</p>