shipit-deploy-simple-fetch
v1.0.2
Published
Simple and fast deploy:fetch replacement
Downloads
5
Readme
shipit-deploy
Simple and fast deploy:fetch replacement for shipit-deploy
Install
npm install shipit-deploy-simple-fetch
Usage
Example shipitfile.js
module.exports = function (shipit) {
require('shipit-deploy')(shipit);
// import task to use it later in the file
const fetch = require('shipit-deploy-simple-fetch')(shipit);
shipit.initConfig({
default: {
repositoryUrl: 'https://github.com/user/repo.git',
branch: 'master'
}
});
// replace default task with imported
shipit.blTask('deploy:fetch', fetch);
};