Skip to content

Commit 029339c

Browse files
committed
fix: remove /dev/tty usage in GitHub Actions
The /dev/tty device doesn't exist in GitHub Actions environment. Using echo instead to display the output. Signed-off-by: Mark Phelps <[email protected]>
1 parent 25b029b commit 029339c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/worker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
working-directory: ./worker
2929
run: |
3030
# Deploy the worker to preview environment
31-
OUTPUT=$(wrangler deploy --config wrangler.jsonc --env preview 2>&1 | tee /dev/tty)
31+
OUTPUT=$(wrangler deploy --config wrangler.jsonc --env preview 2>&1)
32+
echo "$OUTPUT"
3233
3334
# Extract the deployed URL from the output
3435
# Look for the worker URL pattern

0 commit comments

Comments
 (0)