Commit 38720ee
ci: harden the local-preview deploy workflow
Replace the `A && B || C` public copy with an if block, so a missing
directory stays optional but a failed copy fails the job. actionlint
flagged the old form (SC2015).
Paginate the PR comment lookup: on a long PR the marker can sit past
the first page, which posts a duplicate comment.
Add a per-branch concurrency group so two commits deploying together
cannot finish out of order and leave a stale preview URL.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent c464fa0 commit 38720ee
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
103 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
| |||
146 | 155 | | |
147 | 156 | | |
148 | 157 | | |
149 | | - | |
| 158 | + | |
| 159 | + | |
150 | 160 | | |
151 | 161 | | |
152 | 162 | | |
| |||
0 commit comments