Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jwir3 opened this issue Dec 25, 2018 · 0 comments
Open

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

jwir3 opened this issue Dec 25, 2018 · 0 comments
Milestone

Comments

@jwir3
Copy link
Owner

jwir3 commented Dec 25, 2018

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();
});
@jwir3 jwir3 added this to the 0.0.4 milestone Dec 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant