jwir3 / jwir3/gulp-ssh-deploy

Make an option to allow gulp-ssh-deploy to not add tasks

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It isn't always convenient for gulp-ssh-deploy to add tasks to gulp automatically. We should also have the ability to manually _run_ the tasks in question. This would allow us to do something like:
```
var gSD = new GulpSSHDeploy(
{
"host": "your-server.somewhere.com",
"port": 22,
"package_json_file_path": "package.json",
"source_files": ".",
"remote_directory": "/path/to/remote/deploy/dir",
"username": "someuser",
"ssh_key_file": "/path/to/your/local/ssh/key",
"releases_to_keep": 3,
"group": "remote-group",
"permissions": "ugo+rX",
"package_task": "someTask",
"deploy_task_name": "deploy",
"add_tasks": false
}, gulp);

gulp.task('performDeployment', function() {
gSD.runDeploymentTask();
});
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.