Socket
Socket
Sign inDemoInstall

gulp-gh-pages

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-gh-pages - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

index.js

@@ -107,3 +107,3 @@ 'use strict'

srcStream
.pipe(gulp.dest(cacheDir))
.pipe(gulp.dest(repo._repo.path))
.on('end', function () {

@@ -110,0 +110,0 @@ deferred.resolve(repo);

@@ -22,8 +22,7 @@ 'use strict'

var deferred = when.defer();
var repo = git(dir)
// assume that if there is a .git folder it's the right folder
if (fs.existsSync(repo.dot_git)) {
if (fs.existsSync(path.join(dir, '.git'))) {
var repo = git(dir);
deferred.resolve(new Git(repo).status());
}
else {
} else {
rimraf.sync(dir);

@@ -30,0 +29,0 @@ git.clone(remoteUrl, dir, function (err, repo) {

{
"name": "gulp-gh-pages",
"version": "0.2.0",
"version": "0.2.1",
"description": "Gulp plugin to publish to Github pages (gh-pages branch).",

@@ -5,0 +5,0 @@ "keywords": [

@@ -29,2 +29,22 @@ # gulp-gh-pages

Two different signatures are supported.
### deploy(remoteUrl, remote)
#### remoteUrl
Type: `String`
_Required: `true`_
Your git remote url. Ensure you have write access to the repository.
#### remote
Type: `String`
Default: `"origin"`
Git remote.
---
### deploy(options)

@@ -31,0 +51,0 @@

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