- Renamed job from "build-and-deploy" to "build-preview" for better clarity.
- Added concurrency settings to manage workflow runs effectively.
- Streamlined steps by removing unnecessary commands and comments.
- Updated pnpm action to the latest version and ensured proper Node.js versioning.
- Changed environment variable names for Cloudflare API token and account ID to align with updated naming conventions.
- Ensured consistency in secret management for deployment to Cloudflare Pages.
- Renamed the build preview workflow for clarity.
- Removed unnecessary permissions and commented out deployment steps in the build workflow.
- Introduced a new deploy preview workflow that triggers on successful completion of the build workflow, handling artifact download and deployment to Cloudflare Pages.
- Introduced a new GitHub Actions workflow for deploying the application to Cloudflare Pages upon pushes to the main branch.
- Configured steps for Node.js setup, dependency installation, and build processes using pnpm.
- Included necessary permissions and secrets for secure deployment.
- Deleted the deploy preview workflow file as it is no longer needed.
- This change simplifies the workflow configuration and reduces maintenance overhead.
- Renamed job to "Build and Deploy Preview" for clarity.
- Added a deployment step to Cloudflare Pages with necessary configurations.
- Updated permissions to include deployment rights.
- Updated workflow trigger to use a list format for better readability.
- Separated the deploy preview job into distinct steps for improved organization.
- Enhanced debug information to provide more detailed event context.
- Updated artifact download action to the latest version for better performance.
- Added an ID to the artifact upload step for better tracking.
- Enhanced the verification step to include workflow and repository information.
- Updated permissions to allow writing actions in the deploy workflow.
- Added debug information to the deploy workflow for better visibility of event details.
- Updated permissions to allow writing actions.
- Added a step to list build output for verification.
- Included a verification step to confirm artifact upload completion.
- Introduced a new workflow for building the preview site and uploading build artifacts.
- Added a deployment workflow to Cloudflare Pages triggered by the successful completion of the build workflow.
- Configured Node.js and pnpm for dependency management and build processes.