Files
gitea-actions/Makefile
T

27 lines
856 B
Makefile

ACTIONS := \
.gitea/actions/docker \
.gitea/actions/node \
.gitea/actions/git/create_tag \
.gitea/actions/helm/diff \
.gitea/actions/helm/set_deployment_image \
.gitea/actions/helm/template \
.gitea/actions/infra/update_version \
.gitea/actions/kubectl/configure \
.gitea/actions/trivy/image_scan \
.gitea/actions/trivy/namespace_scan
.PHONY: help docs
help: ## Show this help
@awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m<target>\033[0m [REGION=us-east-2]\n"} \
/^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0,5) } \
/^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-16s\033[0m %s\n", $$1, $$2 }' \
$(MAKEFILE_LIST)
##@ Setup
docs: ## Create litellm-secrets (prompts for master_key)
@for dir in $(ACTIONS); do \
echo "Generating docs for $$dir"; \
(cd $$dir && action-docs --no-banner --update-readme README.md); \
done