Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cleanup-gh-pages-previews

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleanup-gh-pages-previews

clean up previews of merged and deleted branches

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 12 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc