Skip to content

Instantly share code, notes, and snippets.

@matheusca
Last active December 23, 2015 22:59
Show Gist options
  • Save matheusca/6707438 to your computer and use it in GitHub Desktop.
Save matheusca/6707438 to your computer and use it in GitHub Desktop.
This gist it's a approach about how configuration deployed will work.
{
deployed:
configs:{
host: "22.22.22.22",
port: 22, // Default
user: "root",
password: "test", // don't use it, PLEASE!
// More options can put here, read documentation about others.
git: "https...",
branch: "master",
directory: "/path/to/deployed"
},
after: "Deploy", do: ["Test", "Other"], // Module names
before: "Deploy", do: ["Another", "Something"] // Module names
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment