This tool process and slugify a git branch into an appropriate subdomain name.
Usage
From the
dev/k8s-get-deploy-namedirectory, install the dependencies:
npm install
Run the command: (replacing the
branchargument)
node /cli.js --branch feat/fooBar-123
The subdomain name will be output. It can then be used in a workflow as a namespace name and subdomain value.