Skip to content

Add S3 upload workflow for CDN distribution#8

Merged
ignatov merged 1 commit intomainfrom
feature/s3-cdn-upload
Jan 24, 2026
Merged

Add S3 upload workflow for CDN distribution#8
ignatov merged 1 commit intomainfrom
feature/s3-cdn-upload

Conversation

@ignatov
Copy link
Contributor

@ignatov ignatov commented Jan 24, 2026

Summary

  • Adds a new workflow (upload-s3.yml) that uploads the built registry to Cloudflare R2
  • Versioned snapshots (v2025.01.24-<hash>/) with immutable 1-year cache
  • Latest folder (latest/) with 5-minute cache, always overwritten
  • Runs alongside the existing GitHub Releases workflow

Test plan

  • Tested on this branch - workflow completed successfully
  • Verify files accessible via CDN after merge

- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v7

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Upload to S3' step
Uses Step
uses 'astral-sh/setup-uv' with ref 'v7', not a pinned commit hash
@ignatov ignatov force-pushed the feature/s3-cdn-upload branch from 463275d to 7f6e8fa Compare January 24, 2026 20:44
Adds a separate workflow that uploads the built registry to Cloudflare R2:
- Versioned snapshots (v2025.01.24-<hash>/) with immutable cache (1 year)
- Latest folder with short cache (5 minutes)
- Runs on push to main branch
@ignatov ignatov force-pushed the feature/s3-cdn-upload branch from 7f6e8fa to d0ac4bb Compare January 24, 2026 20:44
@ignatov ignatov merged commit 11d36bc into main Jan 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant