Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rakannimer/gulp-deploy

Deploy code to remote environments with Gulp
https://github.com/rakannimer/gulp-deploy

Last synced: 15 days ago
JSON representation

Deploy code to remote environments with Gulp

Awesome Lists containing this project

README

        

# gulp-deploy
Deploy client and server-side code with Gulp

Gulp file to build an environment and deploy code on remote environments.

## Usage

```
npm install
```

Change the following variables in gulpfile.js

```javascript
remoteHost = 'ip_address',
username = 'user',
project_path = '/var/www/my_project',
keyPath = '/Users/Apple/.ssh/id_rsa',
```

Edit ``` deploy/build_env.sh ``` for customizing environment

#### Build environment and deploy code on empty Ubuntu 14.04

```
gulp build-remote --branch my_branch
```

If no branch argument is provided the master branch will be used

#### Deploy new commit to server

```
gulp deploy --branch my_branch
```