Skip to content

Commit 7a8e6fa

Browse files
committed
fix: use portable deploy target detection
1 parent a124eaa commit 7a8e6fa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,19 +181,19 @@ jobs:
181181
website_changed=false
182182
cockpit_changed=false
183183
184-
if printf '%s\n' "$affected_projects" | rg -x 'website' >/dev/null; then
184+
if printf '%s\n' "$affected_projects" | grep -Fx 'website' >/dev/null; then
185185
website_changed=true
186186
fi
187187
188-
if printf '%s\n' "$affected_projects" | rg -x 'cockpit' >/dev/null; then
188+
if printf '%s\n' "$affected_projects" | grep -Fx 'cockpit' >/dev/null; then
189189
cockpit_changed=true
190190
fi
191191
192-
if printf '%s\n' "$changed_files" | rg '^(\.github/workflows/ci\.yml|vercel\.json)$' >/dev/null; then
192+
if printf '%s\n' "$changed_files" | grep -E '^(\.github/workflows/ci\.yml|vercel\.json)$' >/dev/null; then
193193
website_changed=true
194194
fi
195195
196-
if printf '%s\n' "$changed_files" | rg '^(\.github/workflows/ci\.yml|vercel\.cockpit\.json)$' >/dev/null; then
196+
if printf '%s\n' "$changed_files" | grep -E '^(\.github/workflows/ci\.yml|vercel\.cockpit\.json)$' >/dev/null; then
197197
cockpit_changed=true
198198
fi
199199

0 commit comments

Comments
 (0)