Skip to content

docs: add local development instructions#1

Closed
jorgefl8 wants to merge 12 commits intomainfrom
check-cloudflare-page-preview
Closed

docs: add local development instructions#1
jorgefl8 wants to merge 12 commits intomainfrom
check-cloudflare-page-preview

Conversation

@jorgefl8
Copy link
Copy Markdown
Owner

  • Add prerequisites section (Bun)
  • Add installation and development commands
  • Add build instructions for production

- 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
@github-actions
Copy link
Copy Markdown

Cloudflare Workers deployed!

Name Link
Preview URL https://codeink.jorgeflorentinomarbe.workers.dev
Branch Alias

Commit: e0f60d6

- 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
@github-actions
Copy link
Copy Markdown

🚀 Cloudflare Workers Preview Deployment

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

Commit: 65b291e

- 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
@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