| title | Arifa CI/CD Updates and Corrections | |||
|---|---|---|---|---|
| date | 2026-05-02 | |||
| author | pmutua | |||
| tags |
|
|||
| commit | 1de6b05 | |||
| type | dev-diary |
I've made several updates to the Arifa project, focusing on CI/CD pipeline improvements and corrections. Notably, I replaced wrangler-action with npx wrangler in the Telegram deploy workflow and corrected the changeset package name.
The Arifa project is an AI-powered news aggregation, analysis, and distribution platform. It utilizes a range of technologies including React Native, Expo, Astro, and Cloudflare Workers. The project's CI/CD pipelines are crucial for ensuring smooth deployment and updates.
The primary change involves replacing wrangler-action with npx wrangler in the .github/workflows/deploy-telegram.yml file. This update affects how deployments to Cloudflare Pages are handled. Specifically, the uses directive for cloudflare/wrangler-action@v3 has been replaced with a run command using npx wrangler for deploying to Cloudflare Pages.
- name: Deploy to Cloudflare Pages
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: npx wrangler pages deploy telegram/dist --project-name arifa-telegram --branch ${{ github.ref_name }} --commit-dirty=trueAdditionally, I corrected the changeset package name from arifa to @news-intel/frontend in the .changeset/web-intelligence-pages.md file.
- 'arifa': minor
+ '@news-intel/frontend': minorThe update from wrangler-action to npx wrangler was necessary to align with the latest deployment best practices for Cloudflare Pages. This change ensures that the project's CI/CD pipeline remains efficient and compatible with the evolving Cloudflare ecosystem.
- The importance of keeping CI/CD pipelines up-to-date with the latest tools and best practices.
- How to migrate from
wrangler-actiontonpx wranglerfor Cloudflare Pages deployments. - The need for accurate package naming in changesets for proper versioning and change tracking.
These updates pave the way for more streamlined and reliable deployments of the Arifa project. With the corrected package name and the improved deployment process, the project is better positioned for future development and scaling.
sequenceDiagram
participant GitHub as GitHub Actions
participant Cloudflare as Cloudflare Workers
participant Wrangler as npx Wrangler
participant Telegram as Telegram Deployment
GitHub->>Wrangler: Trigger deployment
Wrangler->>Cloudflare: Deploy to Cloudflare Pages
Cloudflare->>Telegram: Update Telegram deployment
Telegram->>GitHub: Confirm deployment success
This sequence diagram illustrates the updated deployment workflow, showcasing how GitHub Actions trigger the deployment using npx wrangler, which then interacts with Cloudflare Workers to update the Telegram deployment.
All commits are SSH-signed (Ed25519) and show a Verified badge on GitHub. The source repository is private — commit URLs are not publicly accessible.
| Commit | Date | Message | Verified |
|---|---|---|---|
2705078 |
2026-05-01 23:51 +03:00 | fix(ci): replace wrangler-action with npx wrangler in telegram deploy | ✓ |
46e90c0 |
2026-05-01 23:53 +03:00 | Merge branch 'release/0.10.1' | ✓ |
1de6b05 |
2026-05-01 23:57 +03:00 | fix(root): correct changeset package name from arifa to @news-intel/frontend | ✓ |