Skip to content

Commit bec03e4

Browse files
feat: add avatar upload staging endpoint for preview deployments
Configure NEXT_PUBLIC_AVUP_ENDPOINT environment variable for preview builds to enable avatar uploads on preview sites using the staging worker. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent edafaa4 commit bec03e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pages-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
- name: Build and Export with Profiler
4949
if: ${{ github.ref != 'refs/heads/main' }}
5050
run: pnpm build:preview && pnpm export
51+
env:
52+
NEXT_PUBLIC_AVUP_ENDPOINT: https://avatar-upload-staging.ens-cf.workers.dev
5153

5254
- name: Generate sitemap
5355
if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)