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