Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

ignores in config not work #239

@ozee31

Description

@ozee31

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions