Separate S3 buckets for raw data and HTML exports#41
Merged
Conversation
Split Cloudflare R2 bucket configuration into two distinct buckets: - CLOUDFLARE_R2_RAWDATA_BUCKET_NAME (sfs-json): Stores source JSON files - CLOUDFLARE_R2_HTMLEXPORT_BUCKET_NAME (web): Stores generated HTML exports Changes: - Updated fetch-sfs-workflow.yml to upload JSON to rawdata bucket - Updated html-export-workflow.yml to download from rawdata and upload HTML to export bucket - Updated github-pages-workflow.yml to download JSON from rawdata bucket - Changed bucket names from secrets to repository variables for better transparency This separation improves organization and allows different retention/access policies per bucket type. 🤖 Generated with [Claude Code](https://claude.com/claude-code) 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.
Summary
Splits Cloudflare R2 bucket configuration into two distinct buckets for better organization and access control:
sfs-json): Stores source JSON files from the APIweb): Stores generated HTML exports for public accessChanges
fetch-sfs-workflow.ymlto upload JSON to rawdata buckethtml-export-workflow.ymlto download from rawdata and upload HTML to export bucketgithub-pages-workflow.ymlto download JSON from rawdata bucketBenefits
Required Setup
Before merging, add these two repository variables:
Or via GitHub UI: Settings → Secrets and variables → Actions → Variables tab
🤖 Generated with Claude Code