buncid/types.d.js
Benjamin Toby bb3d0712ca Upgrades
2023-11-01 06:01:17 +01:00

11 lines
560 B
JavaScript

/**
* @typedef {object} NodeCIConfig
* @property {string} start - Start command. Eg `node index.js`
* @property {string[] | string} preflight - And array of commands to run before
* the application starts, or a single `.sh` file path.
* @property {string} [redeploy_path] - The path to the file that will trigger a
* redeployment if content is changed. Default file path is `./REDEPLOY`
* @property {boolean} [first_run] - Whether to run the preflight on first run. Default `false`
* @property {string | number} [port] - The port to kill on reload
*/