Painlessly deploy node.js applications to your staging and production servers. Use a standard VPS or dedicated server to host both Node and traditional Apache-based websites. Pairs nicely with nginx and mechanic.
306
stars
29
forks
source link
Pass the TARGET to the before-connecting script as %1 #25
My 'before-connecting' script needs to perform some actions that are different for each of the deployment targets. I have simply added the $TARGET as a command-line argument so the script knows which target is being deployed.
My 'before-connecting' script needs to perform some actions that are different for each of the deployment targets. I have simply added the $TARGET as a command-line argument so the script knows which target is being deployed.