Skip to main content

Second thoughts

Blog about product engineering, long-term games and making better decisions

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:

  1. 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).
  2. Open codebase with the editor.
  3. Create a file in a proper folder with a proper name (don’t forget the date in the filename!)
  4. Write something.
  5. Create a branch (with proper name, remember!)
  6. Commit and push.
  7. Open GH UI, create a pull request.
  8. Wait till the PR is deployed to Netlify.
  9. Check if everything is alright.
  10. 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.

  1. Ask for a slug (this will be the filename and a name of the branch)
  2. Create file in content folder with a proper name and even maybe templated body.
  3. 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.