shipitjs/shipit

ignores in config not work

Open

#239 aberto em 27 de jun. de 2019

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (194 forks)batch import
help wanted

Métricas do repositório

Stars
 (5.331 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador