The script needs two variables from the env "ENV_DIR" & "DEPLOY_DIR" I would recommend that you add something like:
export ENV_DIR=/path/to/directory-with-env-files
export DEPLOY_DIR=/path/to/directory-with-deploy-scripts
Also ensure that these directories only have files
npm i -g @kartikkhk/deploykit
- Just install deploykit and run
deploy
- Sample env file to be placed in
ENV_DIR
:
JENKINS_TOKEN=randomtoken
ENV=staging
- LICENSE: WTFPL