Switch to static export with build-time data fetching

- Change from server-side rendering to static export
- Fetch data at build time and save as JSON
- Remove API routes and tests, use static JSON file
- Switch back to WEB platform from WEB_COMPUTE
- Update build test for static export
- Exclude out directory from security scan
- Much simpler and more reliable approach
This commit is contained in:
DaX
2025-06-19 01:13:15 +02:00
parent 2baac7be9f
commit 1a96e5eef6
8 changed files with 43 additions and 67 deletions

View File

@@ -15,7 +15,7 @@ provider "aws" {
resource "aws_amplify_app" "filamenteka" {
name = "filamenteka"
repository = var.github_repository
platform = "WEB_COMPUTE"
platform = "WEB"
# GitHub access token for private repos
access_token = var.github_token