Skip to content

Commit b1a96bd

Browse files
committed
chore: add debug logging to Auth0 CLI action for better troubleshooting
1 parent d9f4f4d commit b1a96bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/configure-auth0-screens/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ runs:
130130
131131
# Create temporary settings file with proper cleanup handling
132132
SETTINGS_FILE=$(mktemp settings_XXXXXX.json)
133+
echo "Debug: Temporary SETTINGS_FILE created at: $SETTINGS_FILE"
133134
134135
# Use a single find command to gather all assets and process them in memory
135136
ALL_ASSETS=$(find "dist/assets" -type f \( -name "*.js" -o -name "*.css" \) ! -name "*.map.js" 2>/dev/null | sort)
@@ -380,12 +381,16 @@ runs:
380381
FAILED_SCREENS+=("$screen")
381382
continue
382383
}
384+
echo "Debug: Content of SETTINGS_FILE for screen $screen:"
385+
cat "$SETTINGS_FILE"
386+
echo "--- End of SETTINGS_FILE content ---"
383387
384388
#############################################
385389
# CONFIGURE AUTH0 SCREEN
386390
#############################################
387391
388392
echo "🔄 Configuring Auth0 prompt: $screen"
393+
echo "Debug: Using SETTINGS_FILE path for auth0 command: $SETTINGS_FILE"
389394
390395
# Verify auth0 CLI is available
391396
if ! command -v auth0 &> /dev/null; then

0 commit comments

Comments
 (0)