Which service do you use to host static website?
41–48 of 48 posts
Re: Which service do you use to host static website?
#42Earlier quoted context omitted.
(disclaimer: Netlify employee) Netlify supports running a build script automatically whenever you push to one of our supported Git providers (we also have a CLI tool for those who prefer to do that manually). This includes creating deploy previews for branches other than your main deploy branch (such as PRs). This is actually how the project I work on, Netlify CMS[0] works - the CMS is a completely open source, front…
Since you're here, I would like to take this opportunity to ask a quick question. My Jekyll site is already running on Netlify, but instead of manually creating files, I used Google Sheets and a simple NodeJS script to sync everything. Would it be possible to run this NodeJS script on Netlify CD and push to git and then let Netlify build my Jekyll site? (The script basically pulls a Google Sheet, creates markdown fil…
Re: Which service do you use to host static website?
#43Re: Which service do you use to host static website?
#44Earlier quoted context omitted.
Since you're here, I would like to take this opportunity to ask a quick question. My Jekyll site is already running on Netlify, but instead of manually creating files, I used Google Sheets and a simple NodeJS script to sync everything. Would it be possible to run this NodeJS script on Netlify CD and push to git and then let Netlify build my Jekyll site? (The script basically pulls a Google Sheet, creates markdown fil…
Netlify continuous deployment is triggered by a Git commit, but you can run arbitrary Node scripts (though not _just_ Node scripts, of course) as part of your build process. I don't know of a way you could trigger deploys based on changes to the Google Sheets app without some code on your end (maybe IFTTT could work?), but everything else should be feasible if I'm understanding you correctly.
Re: Which service do you use to host static website?
#45GitLab pages but for no particular reason... I use Hugo and want HTTPS on a custom domain so that seemed to be an easy way to do it. Only problem is that GitLab does not redirect to the HTTPS version automatically. I might try Netlify some day if it's as easy as GitLab + has custom HTTPS domains for free.
Re: Which service do you use to host static website?
#46Google Cloud Storage I quite like that it comes with command line util so it's easy to sync up changes with one command. It's also dirt cheap if you have modest traffic. I doubt I'll spend anything significant. Maybe a few cents? As an aside: I am changing my opinion on static site generators. They make things harder because you need to learn the generator syntax. The programming constructs in Hugo for example are wo…
Look into Wyam (https://wyam.io/) a bit. You might find it's extensibility to write custom modules similar to what you are trying to accomplish.
Re: Which service do you use to host static website?
#47I think I've tried everything. Firebase, Netlify, S3+Cloudfront, Github+Cloudflare are the main contenders. I benchmarked them myself and using https://www.webpagetest.org/ in numerous locales. Netlify has the edge as their publishing model is slick. They know there has been an update and can trigger the nodes automatically. My only complaint? They have a soft bandwidth limit - I wish I could pay to lift it. I know t…
Re: Which service do you use to host static website?
#48Earlier quoted context omitted.
Netlify continuous deployment is triggered by a Git commit, but you can run arbitrary Node scripts (though not _just_ Node scripts, of course) as part of your build process. I don't know of a way you could trigger deploys based on changes to the Google Sheets app without some code on your end (maybe IFTTT could work?), but everything else should be feasible if I'm understanding you correctly.
That's what I thought, I'll probably need another step somewhere that triggers the syncing and then pushes to git. After that Netlify CD would do the rest. Thanks.