This doc is going to walk through the "golden path" for CNDI. It uses the GitHub CLI for creating GitHub Actions Secrets, but that isn't necessary.
-
Ensure you have the GitHub CLI installed and configured
-
Run
gh repo create polyseam/my-repo --private --clone
to create a private repo -
To download your executable run:
# if you are on windows you should run this in 'git bash'
curl -fsSL https://raw.githubusercontent.com/polyseam/cndi/main/install.sh | sh
-
Run
cndi init --interactive
and choose a template -
Run
gh secret set -f .env
-
Run
git add .
-
Run
git status
-
Run
git commit -m 'deploy!'
-
Run
git push -u origin main
-
Watch the magic 🪄