Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

kroleg/shipit-deploy-simple-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shipit-deploy-simple-fetch

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

About

Simple and fast deploy:fetch replacement for shipit-deploy

Resources

Stars

Watchers

Forks