My simple deployment script
[!IMPORTANT]
Set up adeploy.js
at the root of the project, see/deploy.example.js
as a reference.
npx @ianlucas/deploy@latest
-
--all
or-a
: deploy all apps listed indeploy.js
. -
--backup <filename>
or-b
: name of the file in/deploys
to be deployed. -
--no-pm2
: script won't mess withpm2
. -
--debug
: display deployment information, apps won't be deployed.