Gatsby + Cloudflare Pages CI‑Fix (Strapi → Gatsby Build Fails)

Job ID: 39632623

Budget: $250 – $750 USD

The site lacelestina.co contains adult (NSFW) content.
Apply only if you’re comfortable working with that.


| Layer | Status |
| ----------------- | ---------------------------------------------------------------------------------------------------------- |
| **Frontend** | Gatsby v4 on Cloudflare Pages (works when build succeeds) |
| **Backend CMS** | Strapi v3 on DigitalOcean – stable |
| **Build Trigger** | GitHub Actions webhook from Strapi → Gatsby build |
| **Problem** | Builds intermittently fail (timeout / image sharp errors) <br>so new content doesn’t go live automatically |


Performance is fine; we do not need ongoing tuning or a monthly retainer.
We just need the deploy pipeline to be rock solid.

Goal
One‑time fix: Make the Strapi→GitHub→Cloudflare Pages workflow 100 % reliable.

Document the solution so our small team can maintain it.

Future tiny site edits may be posted as separate micro‑jobs.


scope of Work (Single Milestone)
Audit current workflow

Strapi webhook ➜ GitHub Action ➜ gatsby build ➜ CF Pages deploy.

Identify root cause of build failures (plugin versions, memory, concurrency, image processing).

Apply fixes

Update Gatsby plugins / Node version if needed.

Adjust GitHub Actions timeouts / --log-pages / --no-uglify.

Fine‑tune gatsby-config.js (Sharp limits, concurrency flags).

Test

Trigger 20 test edits in Strapi → verify all builds green.

Build time remains reasonable (30 min is fine).

Deliver documentation (Markdown or README):

Problem found, steps applied, how to trigger/deploy manually.



| KPI | Target |
| ------------------ | ------------------------------------------ |
| Build Success Rate | **20/20 consecutive builds succeed** |
| Build Time | ≤ 40 min per build (no strict perf tuning) |
| Docs | Clear step‑by‑step notes in repo |


Required Expertise
Deep Gatsby troubleshooting (Sharp, image plugins).

GitHub Actions (matrix, caching, timeout settings).

Familiar with Cloudflare Pages build environment.

Comfortable interacting with Strapi webhooks (or writing a Node script if needed).



Timeline & Budget
Start immediately after access.

Expect fix + docs within 5  business days.

Fixed price: USD 250 (negotiable ±25 % if scope slightly expands).
Related categories: MongoDB GitHub GatsbyJS Cloudflare DigitalOcean Strapi