1bl4z3r / hermit-V2

Continuing Hermit's legacy to be minimal and fast theme
https://1bl4z3r.github.io/hermit-V2/
MIT License
79 stars 33 forks source link

Recent code changes to `main` branch? #32

Closed jamesbraza closed 10 months ago

jamesbraza commented 10 months ago

The recent changes have been awesome, I am looking to use them now.

Either:

Do you mind updating the main branch? I think having the example site diverge from the main branch can be confusing to new users

jamesbraza commented 10 months ago

Actually, changing my submodule to use staging branch doesn't work, because Hugo pulls in all the example site's posts too. Any chance you wouldn't mind updating the main branch with recent fixes?

1bl4z3r commented 10 months ago

Hi @jamesbraza,

All files (sans Content and Static directory) is copied to main. Every push to staging gets propagated to main (minus static and content)

1bl4z3r commented 10 months ago

You really shouldn't pull staging branch as it contains blog contents which will result in useless spacehog. You should instead pull from main or submodule into themes folder.

jamesbraza commented 10 months ago

Oh actually, I understand how things work now (I had some misgivings):

  1. staging has a GitHub Action to commit changes to main: https://github.com/1bl4z3r/hermit-V2/blob/0b24b5fcbd2788f1d1f4e98a3c9fc3990e29decd/.github/workflows/staging-workflow.yml#L14
  2. These commits show up as "Theme Files Update" as made by a GitHub bot

I use https://github.com/refined-github/refined-github browser plugin, which has "dim bots" to grey out bot commits (here is a GIF from https://github.com/refined-github/refined-github#conversations):

dim bot example

Here's a screenshot of how the hermit-V2 commit history looks for me:

screenshot of commit history

I apologize for this @1bl4z3r, but I didn't realize these bot commits actually had meaningful content 😓 . I thought it was like Dependabot meaningless commits.

Closing this out!

1bl4z3r commented 10 months ago

This project isn't such high profile to have dependabot 😅, also I am lazy AF.

Still, have a nice day I guess