Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rakannimer/gulp-deploy
- Owner: rakannimer
- Created: 2015-05-13T08:47:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-13T10:05:32.000Z (over 9 years ago)
- Last Synced: 2024-04-09T11:29:20.201Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gulp-deploy
Deploy client and server-side code with GulpGulp 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
```