-
Notifications
You must be signed in to change notification settings - Fork 24
Publishing
Bruce Schubert edited this page Mar 22, 2019
·
1 revision
The Explorer is hosted on GitHub pages from this project's gh-pages
branch.
Publishing is accomplished via the gh-pages npm plugin. The package.json
file contains a script entry that instructs the plugin to publish everything in the root
folder to the gh-pages
branch. The following snippet from package.json
shows the configuration.
"devDependencies": {
"gh-pages": "^1.2.0"
},
"scripts": {
"deploy": "gh-pages -d root"
}
To publish everything from your root
folder to your gh-pages
branch, run this command:
npm run deploy