Closed jamesbraza closed 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?
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)
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.
Oh actually, I understand how things work now (I had some misgivings):
staging
has a GitHub Action to commit changes to main
: https://github.com/1bl4z3r/hermit-V2/blob/0b24b5fcbd2788f1d1f4e98a3c9fc3990e29decd/.github/workflows/staging-workflow.yml#L14I 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):
Here's a screenshot of how the hermit-V2 commit history looks for me:
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!
This project isn't such high profile to have dependabot 😅, also I am lazy AF.
Still, have a nice day I guess
The recent changes have been awesome, I am looking to use them now.
Either:
git submodule
to use thestaging
branchmain
branch can be updatedDo you mind updating the
main
branch? I think having the example site diverge from themain
branch can be confusing to new users