cheatingchelsea/amplify.yml
Derek Slenk 21ac70c502 Fix YAML syntax error in amplify.yml
- Remove colon from echo command that was causing YAML parsing error
- Commands should now execute properly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 15:42:54 -04:00

23 lines
No EOL
569 B
YAML

version: 1
frontend:
phases:
preBuild:
commands:
- npm ci
build:
commands:
- echo "Build started on `date`"
- echo "Configuring environment variables..."
- echo "YOUTUBE_API_KEY value is ${YOUTUBE_API_KEY}"
- echo "YOUTUBE_API_KEY=${YOUTUBE_API_KEY}" > .env.production
- echo "Contents of .env.production file"
- cat .env.production
- npm run build
artifacts:
baseDirectory: .next
files:
- '**/*'
cache:
paths:
- node_modules/**/*
- .next/cache/**/*