Last active
January 16, 2017 06:47
-
-
Save ahhmarr/ae8537fb8f0249d50744b1a35532f797 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(shipit) { | |
require('shipit-deploy')(shipit); | |
shipit.initConfig({ | |
default: { | |
workspace: '/tmp/app', | |
deployTo: '/var/www/app', | |
repositoryUrl: 'git@repo', | |
ignores: ['.git', 'node_modules', 'bower_components'], | |
rsync: ['--del'], | |
keepReleases: 5, | |
key: '~/.ssh/id_rsa_new', | |
shallowClone: true, | |
branch: 'dev' | |
}, | |
production: { | |
servers: '[email protected]' | |
} | |
}); | |
shipit.on('deploy:init', function() { | |
console.log('calle dit') | |
return shipit.remote('pwd'); | |
}) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment