Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to pull from a git repo straight into a firebase hosted website

I have successfully deployed to a firebase hosted app by using the following commands:

firebase init
firebase deploy

At this stage I am doing a git pull to pull repo down to a staging server and then running the commands above to deploy the code to the firebase hosted site.

I would like to know if its possible to skip the staging server and just pull the github repo straight into firebase. This would basically save me having a server in the picture. I know I could pull it down locally to my computer and do similar but this is still not ideal as if a few of us are contributing to the git repo either someone is going to have to take responsibility for doing the pull to local and then push to firebase or all developers would need to do the same.

Any advice appreciated.

Thanks, Craig.

like image 477
CPP Avatar asked Nov 30 '25 16:11

CPP


1 Answers

Deploying directly from Github is not currently a feature of Firebase hosting.

Since you often have to do transpiling, compiling, bundling, minification an the like on the raw (HTML, JS, ES6, SCSS, CSS) source files, it is also seldom a direct deploy, but more of a build process.

like image 86
Frank van Puffelen Avatar answered Dec 03 '25 11:12

Frank van Puffelen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!