Commit 98e3c07
authored
fix: clone CLI chart to /tmp to avoid submodule and copy helm docs correctly (#62)
Fixes two issues with the helm docs generation step:
- Using `actions/checkout` with `path: cli-repo` placed a nested git
repo inside the docs workspace, causing `create-pull-request` to stage
it as a submodule. Replaced with a plain `git clone` to `/tmp/cli-repo`
which is outside the tracked workspace.
- `helm-docs --output-file` is relative to the chart directory and
cannot write outside it. Instead, generate to the default `README.md` in
the chart dir and copy it to `helm/k8s_reporter.md` in the docs repo.1 parent 8153171 commit 98e3c07
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 60 | | |
69 | 61 | | |
70 | 62 | | |
| |||
73 | 65 | | |
74 | 66 | | |
75 | 67 | | |
76 | | - | |
77 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
| |||
0 commit comments