deploy-to-github-pages
Advanced tools
Comparing version 1.0.0-beta.6 to 1.0.0-beta.7
@@ -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: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35432