shipitjs/shipit

ignores in config not work

オープン

#239 opened on 2019/06/27

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (194 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (5,331 個のスター)
PR merge metrics
 (PR metrics pending)

説明

I want to ignore some directories once the rsync is launched to the remote but it doesn't work. My "doc" directory is still present

module.exports = shipit => {
  require("shipit-deploy")(shipit);

  const cakeShared = require("./shared/cake");

  shipit.initConfig({
    default: {
      servers: "...",
      repositoryUrl: "git@github.com:.../...",
      shallowClone: false,
      keepReleases: 3,
      deleteOnRollback: false,
      ignores: [
        "doc"
      ],
    },
    preprod: {
      deployTo: "/.../preprod",
      branch: "develop",
      workspace: "/tmp/app-develop"
    },
    production: {
      deployTo: "/.../production",
      branch: "master",
      workspace: "/tmp/app-master"
    }
  });
};

コントリビューターガイド