Experimental post created with GitHub UI
I was struggling a little bit with finishing and publishing some posts here, so I thought, it could be a little bit difficult because I have too many steps to make to publish any new piece:
- Find a repo locally (and I have some naming problem in the folder
~/code
, because I made a lot of attempts to create kolomeetz.com website). - Open codebase with the editor.
- Create a file in a proper folder with a proper name (don’t forget the date in the filename!)
- Write something.
- Create a branch (with proper name, remember!)
- Commit and push.
- Open GH UI, create a pull request.
- Wait till the PR is deployed to Netlify.
- Check if everything is alright.
- Merge the branch to publish.
Too many steps, I definitely fell into fallacy of static blog engines. And all these steps definitely could be automated with some script.
- Ask for a slug (this will be the filename and a name of the branch)
- Create file in
content
folder with a proper name and even maybe templated body. - Create branch, commit this file, push to github, create PR and open that PR with a browser.
I’ll try to set this up today.