shipit-deploy-simple-fetch

1.0.2 • Public • Published

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);
};

Readme

Keywords

Package Sidebar

Install

npm i shipit-deploy-simple-fetch

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • vitaliyzaytsev