Using Github pages to host Eleventy sites
A simple bash script that:
- Removes an existing
- Creates a new 'docs/' directory by copying the '_site/' directory
- Adds files to the commit
- Requests a commit message
- Commits and pushes the changes
.sh file into a
/bin/ directory in the root of your project.
sh bin/git-push.sh from the root of your project.