Skip to content

Check cloudflare page preview - #2

Closed
jorgefl8 wants to merge 15 commits into
mainfrom
check-cloudflare-page-preview
Closed

jorgefl8 wants to merge 15 commits into
mainfrom
check-cloudflare-page-preview

Conversation

@jorgefl8

Copy link
Copy Markdown
Owner

No description provided.

- Add prerequisites section (Bun)
- Add installation and development commands
- Add build instructions for production
- Add verification step for build output
- Simplify deploy command for better reliability
- Show dist folder contents for debugging
- Add --commit-dirty=true flag to suppress git warnings
- Ensure deployment works with uncommitted changes in CI
- Add wrangler.toml configuration file
- Change from 'pages deploy' to 'deploy' command
- Configure for Workers deployment with static assets
- Replace deprecated [site] configuration with pages_build_output_dir
- Update compatibility_date to current date
- Use 'pages deploy' command instead of 'deploy'
- Follow official Cloudflare Pages documentation
- Let Wrangler use the latest compatibility date automatically
- Simplifies configuration file
- Change from Pages to Workers configuration format
- Use [assets] directory instead of pages_build_output_dir
- Use wrangler deploy command instead of pages deploy
- Add compatibility_date (required for Workers)
- Update workflow step names and comments
- Add preview_urls = true to wrangler.toml
- Allows accessing preview versions of the Worker
- Use --preview flag when deploying from pull requests
- Deploy to production on releases
- Allows testing changes before merging to main
- Remove Branch Alias field (not available in Workers)
- Add branch name display for context
- Update comment title to show Preview/Production
- Clean up formatting
- Change workflow name from Pages to Workers
- Remove --preview flag (not valid for wrangler deploy)
- Use simple deploy command with preview_urls enabled in wrangler.toml
- Production releases use 'deploy' command (affects production)
- PRs use 'versions upload --preview-alias <branch>' for preview URLs
- Preview URLs follow pattern: <branch>-codeink.jorgeflorentinomarbe.workers.dev
- Fixes issue where PRs were deploying directly to production URL
- Add types: [opened, synchronize, reopened] to pull_request trigger
- Add workflow_dispatch for manual execution
- Fix duplicate step IDs (deploy-prod and deploy-preview)
- Remove trailing whitespace
- --preview-alias requires wrangler v4.21.0+, we have v3.90.0
- --tag is available in current version and creates similar alias
- Preview URL follows same pattern: <tag>-codeink.jorgeflorentinomarbe.workers.dev
@github-actions

Copy link
Copy Markdown

🚀 Cloudflare Workers Preview Deployment

Name Link
Preview URL https://check-cloudflare-page-preview-codeink.jorgeflorentinomarbe.workers.dev
Branch check-cloudflare-page-preview

Commit: 32197ec

Note: Preview deployments create a version without affecting production. The URL follows the pattern: <branch>-codeink.jorgeflorentinomarbe.workers.dev

- Add --assets ./dist flag to include static assets
- Fixes 'There is nothing here yet' error on preview URLs
@github-actions

Copy link
Copy Markdown

🚀 Cloudflare Workers Preview Deployment

Name Link
Preview URL https://check-cloudflare-page-preview-codeink.jorgeflorentinomarbe.workers.dev
Branch check-cloudflare-page-preview

Commit: 5faf0fa

Note: Preview deployments create a version without affecting production. The URL follows the pattern: <branch>-codeink.jorgeflorentinomarbe.workers.dev

@jorgefl8 jorgefl8 closed this Feb 11, 2026
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