Repository navigation
Conversation
- 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
🚀 Cloudflare Workers Preview Deployment
Commit: 32197ec
|
- Add --assets ./dist flag to include static assets - Fixes 'There is nothing here yet' error on preview URLs
🚀 Cloudflare Workers Preview Deployment
Commit: 5faf0fa
|
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.
No description provided.