DEV Community

Discussion on: Deploying a Jigsaw static site to GitHub Pages using GitHub Actions

Collapse
 
michaelcurrin profile image
Michael Currin

Thanks for sharing.

I haven't heard of Jigsaw before and haven't seen the subtree command.

The approach is use for my repos for the commit step is using a popular generic GH Pages action that will work with any given output directory. I covered it in my post here.

dev.to/michaelcurrin/github-pages-...

I've also seen other workflows which do the commit step themselves like you do.

Also it would be nice for your to explain -f does a force push to overwrite existing changes.

What is the reason for origin gh-pages:gh-pages as origin gh-pages is common and should be sufficient.

Collapse
 
jcs224 profile image
Joe Sweeney

Cool, I skimmed your article, looks like a straightforward setup! I mostly went the way I did because I didn't know anything about GitHub Actions when starting out and Jigsaw didn't have much guidance other than the articles I mentioned. All I know is it now works the way it should when I push to master.