Removed dependency, Next.js build, and TypeScript caching as they were
slowing down the CI pipeline instead of improving performance.
Simplified workflows now run:
1. Checkout
2. Install dependencies
3. Lint & typecheck (parallel)
4. Build
This should significantly reduce CI execution time by eliminating
cache overhead and complexity.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Ran 'npx next info' to trigger automatic SWC dependency patching.
This resolves the warnings:
- ⚠ Found lockfile missing swc dependencies, run next locally to automatically patch
The patch adds platform-specific SWC binaries to the lockfile for
proper Next.js compilation across different architectures.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Performance improvements:
- Cache node_modules in addition to ~/.npm to skip dependency installation
- Add TypeScript incremental compilation caching with tsBuildInfoFile
- Parallelize lint and typecheck steps to run concurrently
- Add performance flags: --prefer-offline, --no-audit, --no-fund for npm ci
- Increase Node.js memory limit to 4GB and thread pool size
- Cache build output directory for faster rebuilds
- Upgrade TypeScript target to ES2020 for faster compilation
- Disable Next.js telemetry to reduce overhead
Expected reduction: 5+ minutes → 2-3 minutes
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added concurrency groups to both CI and Deploy workflows to:
- Queue jobs per workflow and branch combination
- Cancel older runs when new commits are pushed
- Prevent resource conflicts on self-hosted runners
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive metadata to all pages (homepage, gallery, long-story, dadvocate)
- Include OpenGraph tags, Twitter cards, canonical URLs, and robot directives
- Add navigation links to dadvocate page from homepage, gallery, and long-story pages
- Cross-link between video galleries with contextual call-out section
- Improve search engine indexing with keywords and structured metadata
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added link to actual commit on git.deco.sh
- Commit hash now opens in new tab with proper attributes
- Maintains 'development' text when no commit hash available
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Display git commit hash in footer to track deployed version
- Create cross-platform build script to inject commit hash
- Update build process to include version information
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Separate npm dependencies and Next.js build cache
- Use proper cache keys following Next.js CI docs
- Fix file pattern matching for cache invalidation
- Replace Codeberg action URLs with standard actions/checkout@v4
- Remove caching actions that require external dependencies
- Simplify workflows for self-hosted runners with Node.js pre-installed
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Create CI workflow for automated testing on push/PR
- Create deployment workflow with secrets handling
- Use self-hosted runners with existing Node.js installation
- Support YouTube API key and AWS credentials from repository secrets
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Rename .github directory to .forgejo
- Update workflow actions to use Forgejo-specific URLs
- Change runners from ubuntu-latest to self-hosted
- Replace GitHub-specific AWS action with environment variables
- Update documentation references from GitHub to Forgejo/git.deco.sh
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove CardDescription from imports in long-story page
- Component was imported but never used, causing linting error
- All ESLint warnings now resolved
- Create Footer component with consistent styling and angrymichigander.com link
- Replace inline footers in all pages (home, long-story, gallery) with Footer component
- Ensure consistent footer content across the entire site
- Add proper link styling with hover effects and security attributes
- Add proper CSS classes for link visibility (text-primary hover:underline)
- Add target='_blank' to open in new tab
- Add security attributes for external link
- Fix spacing around the link text
## Overview
This PR adds the necessary secrets configuration and deployment
infrastructure to enable automated deployment of the Next.js application
to AWS.
## Changes Made
### GitHub Actions Configuration
- Updated to include environment variables and secrets for AWS
deployment
- Added proper secret references for AWS credentials and configuration
### Application Configuration
- **next.config.ts**: Added environment variable configuration for
production deployment
- **package.json**: Updated with deployment-related dependencies and
scripts
- **robots.ts**: Added SEO configuration for search engine crawlers
- **sitemap.ts**: Added sitemap generation for better SEO
### Deployment Scripts
- **scripts/create-s3-bucket.js**: Added utility script for S3 bucket
creation and management
## Benefits
- ✅ Automated deployment pipeline ready
- ✅ Proper secrets management in place
- ✅ SEO optimization with robots.txt and sitemap
- ✅ Production-ready configuration
- ✅ AWS infrastructure automation scripts
## Testing
- All configuration files have been validated
- Environment variables properly referenced
- Scripts are executable and ready for deployment
Ready for review and merge to enable automated deployments! 🚀