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

deploy-gh

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deploy-gh

A simple script to deploy master branch to github pages

  • 0.1.3
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

deploy-gh

A simple script to deploy master branch to github pages

See this package in action here.

Installation

npm install --save-dev deploy-gh

Usage

This essentially just merges your master branch into your gh-pages branch and pushes that to the origin repository.

First, make sure you have an index.html file in the root of your repository.

Next, inside package.json:

  "scripts": {
    "test": "... whatever you normally have here ...",
    "deploy": "deploy-gh"
  },

To run this, make sure all changes are committed on your current branch and then run npm run deploy.

Keywords

FAQs

Package last updated on 06 Jul 2018

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