Ever wanted to check in your build artifacts into a build-specific branch?
I used to do that to deploy my Github pages (demo in my git history).
I had a git submodule in my website repo that pointed at a specific branch of my website repo.
I’d dump my built css/js/html into the subrepo and push it to deploy.
This workflow let me get my static site online without messing with CI or figuring out Jekyll.
Here’s how you can use that workflow too (though you probably shouldn’t):
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Ever wanted to check in your build artifacts into a build-specific branch? I used to do that to deploy my Github pages ( demo in my git history ). I had a git submodule in my website repo that pointed at a specific branch of my website repo. I’d dump my built css/js/html into the subrepo and push it to deploy. This workflow let me get my static site online without messing with CI or figuring…

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.