shipit-secrets/README.md

28 lines
573 B
Markdown
Raw Permalink Normal View History

2016-06-09 21:13:33 +00:00
shipit-secrets
==============
A simple secret inclusion task for shipit, inspired by capistrano.
2016-06-09 21:16:17 +00:00
**N.B.** This project uses ES6 features, and as such requires a relatively recent version of node.
2016-06-09 21:15:33 +00:00
2016-06-09 21:13:33 +00:00
Usage
=====
shipit-secrets works out of the box with shipit-deploy. Simply include files/paths to link as `secrets.files` in your shipit config.
```
module.exports = function(shipit) {
require("shipit-deploy")(shipit);
require("shipit-secrets")(shipit);
shipit.initConfig({
"default": {
secrets: {
files: {
}
}
}
});
});
```js