Merged
Conversation
Dokumenterar beslutet att använda GitHub Pages som primär hosting-lösning för den genererade HTML-webbplatsen. Fördelar: - Helt gratis för publika repositories - Enkel integration med befintlig GitHub-baserad workflow - Automatisk deployment via GitHub Actions - Inbyggd CDN och HTTPS - URL-rewrites fungerar automatiskt Alternativ som övervägdes: - Cloudflare R2 (finns som backup, men URL-rewrites fungerar inte) - Cloudflare R2 + Workers (löser rewrites men kostar $5/månad) - Docker Container (flexibelt men kräver hosting och mer komplexitet) - Traditionell hosting (kostnad och underhåll) - Netlify/Vercel (ingen fördel för statiska filer) Migration är enkel tack vare att det bara är statiska HTML-filer. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Lägger till Amazon CloudFront + S3 som alternativ 6 i ADR-005. Nyckelfynd: - URL-rewrites fungerar INTE automatiskt för subdirectorier - Kräver CloudFront Functions eller Lambda@Edge för rewrites - CloudFront Functions: ~$0.10 per miljon requests - S3 Static Website Endpoint är ett alternativ men kräver publik bucket Detta är samma problem som Cloudflare R2 har - grundlösningen fungerar inte för subdirectory rewrites utan serverless functions. Källor: - AWS Blog: CloudFront Functions for directory indexes - AWS Blog: Lambda@Edge for directory indexes Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Replace example.com with selex.se throughout - Update architecture diagram to show artifact-based deployment - Replace gh-pages branch references with GitHub Actions artifacts - Update deployment process to reflect actual workflow implementation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sammanfattning
Dokumenterar arkitektoniska beslutet att använda GitHub Pages som primär hosting-lösning för den genererade HTML-webbplatsen.
Vad har ändrats
Motivering
GitHub Pages valdes som hosting-lösning för att det är:
Alternativ som övervägdes
ADR:en dokumenterar fem olika alternativ:
Migration
Eftersom det bara är statiska HTML-filer är migration till annan plattform trivial (< 1 timme). Cloudflare R2 finns redan som backup-lösning.
🤖 Generated with Claude Code