Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clone the deploy branch before building
As of July 31, 2020, GitHub Pages still fails to deploy if the target branch contains only one commit (the root commit). By cloning the target branch before building, we can push the newly built content as a new commit on top of the existing branch, effectively bypassing this GH Pages issue. Also, this preserves the deploy history, though I'm unsure if anyone really cares.
- Loading branch information