Happy Valentines everyone!
Hopefully you have someone to share the love today (or any other day actually ~) but just in case you don't, maybe you too will love how easy it can be to host a blog :)
So here is my current workflow enabling me to update my blog as easily as possible:
If you want to copy my exact setup you will need the following steps:
At this point, everytime you push commits to your repository's main branch, Gatsby will build it and Vercel will deploy it.
Wow so easy! Much simple! Especially if you have to spend several hours googling and asking people if you need an imprint and privacy disclaimer (spoiler: if you live in Germany you probably do :/)
So you probably don't want to give Gatsby Cloud and Vercel full access to all your repositories. In the future I might check if it isn't easier to just use github actions directly especially because I am not a huge fan of the current build outbut by Gatsby Cloud. If it fails well... 🤷
Well maybe this was not the easiest and quickest way possible... but it does beat setting up your own server and manually drag'n'dropping your built stuff via FileZilla.
Anywhooo now that it's up and running it's as easy as
git push in order to update this site :))
I ❤ it.