DEV Community

Discussion on: Publish Single Directories to Another Branch

nektro profile image
Meghan (she/her)

Awesome command, had no idea about this before!

Side note: specifically to solve the problem of posting to GitHub Pages, if you rename dist to docs then the site will publish in the same way automagically. Not the most aesthetically pleasing name for your dist folder but you can always describe the discrepancy in your actual docs haha