Every developer needs a simple blog
Checkout the demo : blog.quentinmachard.fr
- 🚀 Quick Start
- 🎨 Personalize
- 💫 Deploy
-
Fork repository and clone project
$ git clone https://github.com/<your-username>/blog.git blog $ cd blog
-
Install dependencies
$ yarn install --no-dev
-
Start your app
$ yarn start
TODO
For the moment only GitHub Pages is provided by the project.
-
Generate your secret token :
Go to https://github.com/settings/tokens/new and enable
repos
scope. -
Setup secrets on your github repository :
GH_ORGANISATION=<your-username> GH_REPOSITORY=<your-repository> GH_TOKEN=<your-token> # previously generated token SITE_THEME=<theme> # dark or white PATH_PREFIX=/developers-blog CUSTOM_DOMAIN=<custom-domain>
This blog is automatically deployed to Github Pages for two cases :
- When issues are closed to publish new articles
- When push on master to upgrade blog
This actions are managed by GitHub Actions
It's possible to manually deploy the blog with this command :
$ yarn deploy