anthodev/xeno-team-builderpublic Fork
⑂ cdf9f8f
Commits
⬇ Clone ▾
git clone https://git.rickub.com/anthodev/xeno-team-builder.git
git clone ssh://git@rickub.com/anthodev/xeno-team-builder.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

fix: avoid process substitution in Bunny upload workflow

Cedric ANTHONY committed 2026-09-26T19:19:16+02:00 Browse files
cdf9f8f parent: 91e3df9
modified .rickub/workflows/deploy-bunny.yml +2 -2
@@ -92,7 +92,7 @@ jobs:
9292 run: |
9393 set -euo pipefail
9494
95- while IFS= read -r -d '' file; do
95+ find out -type f -print0 | while IFS= read -r -d '' file; do
9696 relative_path="${file#out/}"
9797 mime_type="$(file --brief --mime-type "$file")"
9898
@@ -103,7 +103,7 @@ jobs:
103103 --header "Content-Type: $mime_type" \
104104 --upload-file "$file" \
105105 "$BUNNY_STORAGE_ENDPOINT/$relative_path"
106- done < <(find out -type f -print0)
106+ done
107107
108108 - name: Purge Bunny CDN cache
109109 env:
@@ -92,7 +92,7 @@ jobs:
92 run: |92 run: |
93 set -euo pipefail93 set -euo pipefail
94 94
95- while IFS= read -r -d '' file; do95+ find out -type f -print0 | while IFS= read -r -d '' file; do
96 relative_path="${file#out/}"96 relative_path="${file#out/}"
97 mime_type="$(file --brief --mime-type "$file")"97 mime_type="$(file --brief --mime-type "$file")"
98 98
@@ -103,7 +103,7 @@ jobs:
103 --header "Content-Type: $mime_type" \103 --header "Content-Type: $mime_type" \
104 --upload-file "$file" \104 --upload-file "$file" \
105 "$BUNNY_STORAGE_ENDPOINT/$relative_path"105 "$BUNNY_STORAGE_ENDPOINT/$relative_path"
106- done < <(find out -type f -print0)106+ done
107 107
108 - name: Purge Bunny CDN cache108 - name: Purge Bunny CDN cache
109 env:109 env: