This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
This script takes a sub-directory of your repository, renames relative links | |
in HTML files to point to a Github Pages subdirectory, and publishes to your | |
gh-pages branch. | |
Use: | |
1. Download this script into the root of your project. | |
2. Run npm install --save-dev fs-extra rebase gh-pages | |
3. Rename "your-project" to the name of your Github project | |
4. If you have more than one HTML file, add it to the "files" |