Commit 0b62a33
authored
Capture apply output as artifact and step summary (#6)
The apply step previously only emitted to STDOUT, visible on the GitHub
run page but not retrievable afterwards. Tee its output to a file,
upload it as the tfapply-<environment> artifact, and append the "Apply
complete!" line to the step summary — mirroring the existing plan
capture.
All three new steps are gated on tf_apply == 'true' so the plan-only
workflow is unaffected.1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
0 commit comments