0.0.4 • Published 4 years ago

cleanup-gh-pages-previews v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Example gh-pages feature preview

This repo exists as a demo on how to deploy previews of all branches to GitHub Pages.

cleanup-gh-pages-previews package

In case you have a setup thats similar to this one I published the _beforeAdd.js script to npm.

# install script
npm i cleanup-gh-pages-previews

# configure it
GIT_REMOTE=origin \
PRODUCTION_BRANCH=main \
PREVIEW_FOLDER=preview \
`# use it with gh-pages` \
gh-pages --before-add cleanup-gh-pages-previews
0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago