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