diff --git a/README.md b/README.md index e0119ae..e989a0d 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This repository manages two Helm charts (e.g., `code-server-chart`, `vllm-serve` ## How it works -- Local pre-push hook runs `scripts/helm_publish.sh` to `helm package` and `helm push` all charts found under this folder (directories containing a `Chart.yaml`). - - If any chart fails to package/push, the Git push is aborted. +- Local pre-push hook runs `scripts/helm_publish.sh` and only processes charts that changed relative to the branch upstream (initial push publishes all charts). + - If any processed chart fails to package/push, the Git push is aborted. ## Configure registry @@ -28,11 +28,7 @@ HELM_LOGIN_EXTRA_ARGS="--insecure --plain-http" No configuration needed by default. The script auto-discovers chart directories by looking for `Chart.yaml` up to depth 2 (excluding nested `charts/` vendor dir). -Optionally pin which chart directories to process: - -``` -export CHART_DIRS="code-server-chart vllm-serve" -``` +By default you don't need to set `CHART_DIRS`; the hook processes only the charts that changed. ## Run manually