#!/bin/sh cd /home/user/Projects/yt-dlp-transcript-browser || exit 1 T=${CLAUDE_JOB_DIR:?set CLAUDE_JOB_DIR}/tmp; REL=${REL:-r9} s=$(date +%s); pnpm --filter yt-dlp-transcript-common exec tsx bin/archilyzer.ts build homepage > $T/$REL-home-build.log 2>&1; echo "build_homepage_exit=$? $(( $(date +%s)-s ))s" s=$(date +%s); pnpm --filter yt-dlp-transcript-common exec tsx bin/archilyzer.ts deploy homepage > $T/$REL-home-deploy.log 2>&1; echo "deploy_homepage_exit=$? $(( $(date +%s)-s ))s $(grep -o 'https://[a-z0-9.-]*archilyzer.pages.dev' $T/$REL-home-deploy.log | tail -1)" echo "exit=0"