Commit graph

131 commits

Author SHA1 Message Date
Decobus
f9527a9d4e Merge pull request 'Remove Firebase and Vercel deployment options' (#8) from feature/remove-firebase-vercel into main
All checks were successful
CI / test (push) Successful in 3m40s
Deploy / deploy (push) Successful in 3m43s
Reviewed-on: #8
2025-07-18 08:04:13 +03:00
Derek Slenk
558186f904 Remove all caching steps from CI workflows
All checks were successful
CI / test (push) Successful in 3m57s
CI / test (pull_request) Successful in 4m4s
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>
2025-07-18 00:59:40 -04:00
Derek Slenk
cc8347e4d6 Fix SWC dependencies warnings by patching package-lock.json
Some checks failed
CI / test (push) Successful in 18m53s
CI / test (pull_request) Has been cancelled
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>
2025-07-18 00:14:08 -04:00
Derek Slenk
6465be819a Optimize CI workflows for faster execution
Some checks failed
CI / test (push) Failing after 29s
CI / test (pull_request) Has been cancelled
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>
2025-07-18 00:09:25 -04:00
Derek Slenk
01eb5c9712 Add workflow concurrency control to prevent concurrent CI runs
Some checks failed
CI / test (pull_request) Failing after 23s
CI / test (push) Has been cancelled
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>
2025-07-18 00:04:54 -04:00
Derek Slenk
85746d52bf less deps
Some checks failed
CI / test (push) Has been cancelled
CI / test (pull_request) Successful in 15m19s
2025-07-17 23:55:58 -04:00
Derek Slenk
4c017ab8f7 Update CLAUDE.md with tea PR creation guidelines
Some checks failed
CI / test (push) Failing after 23s
CI / test (pull_request) Successful in 14m44s
- Add Git workflow section with tea command usage
- Document that tea doesn't support PR descriptions via CLI
- Include PR description template for manual addition
- Add code style guidelines section

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 23:54:30 -04:00
Derek Slenk
2b74d15a4c Remove Firebase and Vercel deployment options
Some checks failed
CI / test (push) Has been cancelled
CI / test (pull_request) Successful in 14m18s
- Remove firebase package dependency
- Delete apphosting.yaml configuration file
- Update README.md to focus on AWS S3 deployment only
- Update CLAUDE.md documentation accordingly
- Clean up package-lock.json (removed 54 packages)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 23:50:39 -04:00
Decobus
cdfc23e563 Merge pull request 'Enhance SEO metadata and add dadvocate page navigation' (#7) from feature/seo-improvements into main
All checks were successful
CI / test (push) Successful in 7m26s
Deploy / deploy (push) Successful in 11m16s
Reviewed-on: #7
2025-07-18 06:37:38 +03:00
Derek Slenk
d8b285bb37 Enhance SEO metadata and add dadvocate page navigation
All checks were successful
CI / test (pull_request) Successful in 10m48s
CI / test (push) Successful in 11m40s
- 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>
2025-07-17 23:29:26 -04:00
Decobus
1d95025e7f Merge pull request 'Make git commit hash in footer clickable' (#6) from feature/clickable-commit-hash into main
All checks were successful
CI / test (push) Successful in 11m8s
Deploy / deploy (push) Successful in 11m30s
Reviewed-on: #6
2025-07-17 17:40:13 +03:00
Derek Slenk
84a4f7e9df Make git commit hash in footer clickable
All checks were successful
CI / test (push) Successful in 10m36s
CI / test (pull_request) Successful in 11m8s
- 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>
2025-07-17 10:32:36 -04:00
Derek Slenk
f6ddce9290 Add commit hash to footer for deployment verification
All checks were successful
CI / test (push) Successful in 14m6s
Deploy / deploy (push) Successful in 11m25s
- 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>
2025-07-16 17:42:21 -04:00
3cc65c3a1e Merge pull request 'Fix Next.js build caching' (#5) from feature/fix-nextjs-build-caching into main
Some checks failed
CI / test (push) Successful in 11m19s
Deploy / deploy (push) Has been cancelled
Reviewed-on: #5
2025-07-17 00:29:16 +03:00
d07bdec509 Merge branch 'main' into feature/fix-nextjs-build-caching
Some checks failed
CI / test (pull_request) Failing after 19s
CI / test (push) Successful in 10m56s
2025-07-17 00:21:35 +03:00
Derek Slenk
ba3c89196a Fix Next.js build caching
All checks were successful
CI / test (push) Successful in 14m6s
CI / test (pull_request) Successful in 14m44s
- Separate npm dependencies and Next.js build cache
- Use proper cache keys following Next.js CI docs
- Fix file pattern matching for cache invalidation
2025-07-16 16:50:15 -04:00
Derek Slenk
e631d334b8 Add three new videos to gallery
Some checks failed
Deploy / deploy (push) Failing after 33s
CI / test (push) Successful in 6m8s
CI / test (pull_request) Successful in 11m36s
2025-07-16 15:36:13 -04:00
Derek Slenk
b642b44a2f Add S3_BUCKET_NAME environment variable to deployment
All checks were successful
CI / test (push) Successful in 8m42s
Deploy / deploy (push) Successful in 9m36s
2025-07-16 15:11:26 -04:00
Derek Slenk
7efb5abcfd Fix S3 deployment: Remove invalid --no-cli-pager flag
Some checks failed
CI / test (push) Successful in 9m19s
Deploy / deploy (push) Failing after 5m50s
2025-07-16 14:36:14 -04:00
Derek Slenk
8f19d43632 Add Next.js build caching to CI/CD workflows
Some checks failed
Deploy / deploy (push) Failing after 7m33s
CI / test (push) Has been cancelled
2025-07-16 14:28:39 -04:00
Derek Slenk
b20acf78f2 Fix deploy: Add YOUTUBE_API_KEY to S3 deployment step
Some checks failed
CI / test (push) Successful in 4m25s
Deploy / deploy (push) Has been cancelled
2025-07-16 14:21:22 -04:00
Derek Slenk
c59575f597 Fix CI/CD: Remove artifact upload step that was causing authentication errors
Some checks failed
CI / test (push) Successful in 3m57s
Deploy / deploy (push) Failing after 2m38s
2025-07-16 11:35:56 -04:00
Derek Slenk
44a4a42a30 Merge branch 'main' - resolve settings.local.json conflict
Some checks failed
Deploy / deploy (push) Failing after 14s
CI / test (push) Has been cancelled
2025-07-16 11:31:16 -04:00
Derek Slenk
94c13926b5 Update settings.local.json permissions 2025-07-16 11:30:46 -04:00
Derek Slenk
21d7d19c83 Resolve merge conflict in .claude/settings.local.json 2025-07-16 11:30:07 -04:00
3d6bb1f39e Merge pull request 'feature/forgejo-workflows' (#3) from feature/forgejo-workflows into main
Some checks failed
Deploy / deploy (push) Failing after 13s
CI / test (push) Successful in 5m25s
Reviewed-on: #3
2025-07-16 07:16:30 +03:00
Derek Slenk
e9790881b2 Merge branch 'feature/forgejo-workflows' of ssh://git.deco.sh/signal-works/cheatingchelsea into feature/forgejo-workflows
All checks were successful
CI / test (push) Successful in 4m49s
CI / test (pull_request) Successful in 5m43s
2025-07-16 00:08:53 -04:00
Derek Slenk
deef69a0aa Fix Forgejo workflows authentication issues
- 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>
2025-07-16 00:08:28 -04:00
2d34ee4afb Delete .forgejo/workflows/nextjs.yml
Some checks failed
CI / test (push) Failing after 1s
CI / test (pull_request) Failing after 0s
2025-07-16 07:06:04 +03:00
e51876f624 Delete .forgejo/workflows/build-check.yml
Some checks failed
CI / test (push) Failing after 1s
CI / test (pull_request) Failing after 1s
2025-07-16 07:05:56 +03:00
Derek Slenk
a0956c37cf Add Forgejo Actions workflows for CI/CD
Some checks failed
CI / test (push) Failing after 1s
CI / test (pull_request) Failing after 1s
Build Check / build-check (push) Failing after 3m28s
Build Check / build-check (pull_request) Successful in 4m44s
- 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>
2025-07-16 00:04:42 -04:00
Derek Slenk
3461feb9a4 Resolve merge conflict in settings.local.json 2025-07-15 23:57:44 -04:00
Derek Slenk
eae994b32e Update local settings 2025-07-15 23:57:03 -04:00
a8b88b8622 Merge branch 'main' into feature/updates
All checks were successful
Build Check / build-check (push) Successful in 4m5s
Build Check / build-check (pull_request) Successful in 9m5s
2025-07-16 06:51:36 +03:00
25a89176a8 Merge pull request 'Migrate from GitHub to Forgejo' (#1) from forgejo-migration into main
All checks were successful
Build Check / build-check (push) Successful in 10m4s
Reviewed-on: #1
2025-07-16 06:50:09 +03:00
1849ef1bfa Update .forgejo/workflows/nextjs.yml
All checks were successful
Build Check / build-check (pull_request) Successful in 5m1s
Build Check / build-check (push) Successful in 6m20s
2025-07-16 05:41:31 +03:00
9d96d366bf Update .forgejo/workflows/build-check.yml
Some checks failed
Build Check / build-check (push) Has been cancelled
Build Check / build-check (pull_request) Successful in 6m4s
2025-07-16 05:40:46 +03:00
Decobus
a939c6ed65 Migrate from GitHub to Forgejo
Some checks failed
Build Check / build-check (pull_request) Failing after 2m18s
Build Check / build-check (push) Failing after 2m19s
- 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>
2025-07-10 18:43:35 -04:00
Derek Slenk
0e26e3945b Update layout and page components
Some checks failed
Build Check / build-check (push) Has been cancelled
Build Check / build-check (pull_request) Has been cancelled
2025-07-10 13:54:14 -04:00
Derek Slenk
08d6605fcc
Add am link (#15)
Some checks failed
Build Check / build-check (push) Has been cancelled
2025-06-30 11:24:03 -04:00
Derek Slenk
dba7d7a1a7
Update package.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-30 11:21:50 -04:00
Derek Slenk
4a0b9e95e4
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-30 11:18:59 -04:00
Derek Slenk
b2475a845c feat: add pre-commit hook to enforce linting
- Install husky for git hook management
- Add pre-commit hook that runs 'npm run lint'
- Ensures all commits pass linting before being allowed
2025-06-30 11:17:35 -04:00
Derek Slenk
09f78df1da Fix ESLint error: remove unused CardDescription import
- Remove CardDescription from imports in long-story page
- Component was imported but never used, causing linting error
- All ESLint warnings now resolved
2025-06-30 10:29:25 -04:00
Derek Slenk
b7bcc6e69b Refactor footer into reusable component
- 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
2025-06-30 09:59:59 -04:00
Derek Slenk
563aa2efab Fix angrymichigander.com link styling in footer
- 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
2025-06-30 09:52:03 -04:00
Derek Slenk
50bc078b15
Remove AWS Amplify dependencies and configuration (#14)
- Remove amplify/ directory and amplify.yml configuration
- Remove aws-amplify, @aws-amplify/backend, and @aws-amplify/backend-cli
dependencies
- Clean up .gitignore entries for Amplify artifacts
- Regenerate package-lock.json without Amplify packages
- Reduce dependency count by 2,038 packages
- Build time improved and bundle size optimized
2025-06-29 18:30:49 -04:00
Derek Slenk
95dc02e88e
force build 2025-06-29 18:24:50 -04:00
Derek Slenk
0620c1b450 Remove AWS Amplify dependencies and configuration
- Remove amplify/ directory and amplify.yml configuration
- Remove aws-amplify, @aws-amplify/backend, and @aws-amplify/backend-cli dependencies
- Clean up .gitignore entries for Amplify artifacts
- Regenerate package-lock.json without Amplify packages
- Reduce dependency count by 2,038 packages
- Build time improved and bundle size optimized
2025-06-29 18:20:59 -04:00
Derek Slenk
c5a6ad3b39
Add secrets configuration and deployment infrastructure (#12)
## 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! 🚀
2025-06-29 18:07:17 -04:00