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

deploy-to-github-pages

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deploy-to-github-pages - npm Package Compare versions

Comparing version 1.0.0-beta.6 to 1.0.0-beta.7

4

bin/deploy-to-github-pages.js

@@ -16,5 +16,5 @@ #! /usr/bin/env node

.option('-u, --build-url [build-url]', 'Link displayed when deployment fails')
.option('-m, --defaultBranch [defaultBranch]', 'Specify the default branch for your repo')
.option('--dotfiles', 'Include dotfiles')
.option('--verbose', 'Log verbose information from gh-pages')
.option('--defaultBranch', 'Specify the default branch for your repo')
.parse(process.argv);

@@ -29,5 +29,5 @@

buildUrl: program.buildUrl,
defaultBranch: program.defaultBranch,
dotfiles: !!program.dotfiles,
verbose: !!program.verbose,
defaulBranch: program.defaulBranch,
});

@@ -34,0 +34,0 @@

@@ -0,1 +1,7 @@

# v1.0.0-beta.7
## Add -m flag
- fix typo for `--defaulBranch`
- when the `--defaultBranch` or `m` flag is passed, users can specify a different default branch other than master
# v1.0.0-beta.6

@@ -2,0 +8,0 @@ ## Add --defaultBranch flag

{
"name": "deploy-to-github-pages",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "A Node library that makes deploying a directory on a branch to GitHub pages easy and automatic.",

@@ -5,0 +5,0 @@ "bin": {

@@ -10,3 +10,3 @@ # :rocket: deploy-to-github-pages

On `master` (or on your specified `defaultBranch`) your directory will be deployed to your GitHub page root similarly to other libraries, such as the wonderful [`gh-pages`](https://www.npmjs.com/package/gh-pages).
On `master` (or on your specified `defaultBranch` or `-m`) your directory will be deployed to your GitHub page root similarly to other libraries, such as the wonderful [`gh-pages`](https://www.npmjs.com/package/gh-pages).
On other branches, it'll be deployed under `/branch/${branchName}`, allowing your peers to QA your built docs/demos easily for better feedback.

@@ -52,3 +52,3 @@

| `buildUrl` | -u | link displayed when deployment fails | | | | |
| `defaultBranch` | | Your github default branch | `'master'` | | | |
| `defaultBranch` | -m | Your GitHub default branch | `'master'` | | | |

@@ -55,0 +55,0 @@ Therefore, if ran from CircleCI or GitHub Actions workflows with a `GITHUB_TOKEN` environment variable present and the directory to be deployed is named `public`, _no configuration options are needed_, so just the following is enough:

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