Hosting From Github – Deploying to Firebase Hosting from GitHub – Firecasts
Deploying to Firebase Hosting from GitHub – Firecasts
Hosting From Github
Learn how to deploy to Firebase Hosting from GitHub.
Firebase Hosting is production-grade web content hosting for developers. With Hosting, you can quickly and easily deploy web apps and static content to a global content-delivery network (CDN) with a single command.
Firebase CLI docs:
Add the Firecasts Web playlist!
Subscribe to the brand new Firebase Channel:
Music by
you search:
Hosting From Github
Deploying to Firebase Hosting from GitHub – Firecasts
How does this work with a .env file with env variables? And can I specify different env vars for different branches, say master and dev, to push to different hosting?
Can we make it a official GitHub Action?
Awesome video!
Is it possible with Github Actions?
Hi! Could you please show Firebase hosting with Github Actions and AngularDart?
Delightful!
Thanks for the help!
can you do a similar video but with Github actions?
How can I just deploy without building? I have just static web files like HTML, CSS, JS.
Y use angularfire2
I would use Netlify.
Here is a great tutorial on using Circle Ci + Jekyll: https://hyperparticle.com/website-migration/
I really enjoy each and every one of your tutorials! 4:48 – I'd recommend to not use after_success for repos where you'll be doing pull requests. By using the .travis.yml below Travis CI will not deploy on after each successful PR and wait until that PR is merged into master before deploying.
before_deploy: "npm run build"
deploy:
provider: firebase
token:
secure: secret
project: secret
skip_cleanup: true
I'm doing a firebase deploy, but my local file does not match my served file, how to reload cache ?, thanks
Super easy! I have a working example at https://github.com/MyPatco/site
Isn't better to use
“`
deploy:
provider: firebase
token:
secure: "YOUR ENCRYPTED token"
“`
I have been having issues deploying my angular2 app. Once deployed and I visited the link, it shows just loading.. without my actually contents being displayed. What is the issues with that? Thanks
Dear David, I need your help, I do everything to deploy firebase, with no correct result, please i want to contact you directly or by email, i need your help to solve this problem, I will appreciate if you respond to me
This doesn't work.
When i type in firebase deploy –token "$FIREBASE_TOKEN"
it tells me Error: Authentication Error.
#AskFirebase how do deploy to firebase hosting from bitbucket? Thanks.
If you're not using a "public" ro "client" folder for the public directory, you can just say '/' and it will look for the index.html on the root of the project.
In case it helps anyone else, it isn't shown in the video but you might need to specify your firebase project in the .travis.yml along with the token:
firebase deploy –project your_project_id –token $FIREBASE_TOKEN
Thanks David. With a bit of extra searching and adding in commands like ng build –prod, I was able to get my Angular 2 (CLI) app auto-deploying to Firebase Hosting from GitHub 🙂
Any way to do this without Travis?
In my system where i have repository I try this command 'firebase init' this is not working i tried these few comands
$ sudo apt-get install travis
$ npm install -g firebase-tools
$ npm update -g firebase-tools
$ npm install firebase-init –save
but nothing get any solution would you like to tell me how I should initialize (firebase init) like you are showing in video.
which terminal are you using?
Please do a comprehensive tutorial on Google App Engine + Node.js + Firebase! There are no examples or documentation of this specific combo, despite being advertised as possible on the Pricing page ("There are many security-enhancing, latency-improving, and time-saving benefits to using Google Cloud with Firebase"). We want to be able to write our own backend logic with Firebase, and would love some best practices for deploying a full stack app, with frontend being deployed to the CDN and backend on GAE.
developing e commerce app based using gitlab ci
You are the best David.
When will we have a Firebase SF meetup?
Hopefully on Spear St.
Fantastic David 🙂
Awesome Video