Skip to content

Buddy

Buddy is a CI/CD platform with a visual pipeline editor. pageflare integrates as an action in your pipeline — add it after the build step to optimize your site before deployment.

Add a Node.js action to your Buddy pipeline that runs pageflare after your build step.

In the Buddy pipeline editor, add a Node.js action after your build action:

Run:

npx @pageflare/cli dist/ --in-place --no-progress

Or install pageflare as a dev dependency and reference it in your build action:

npm ci && npm run build && npx @pageflare/cli dist/ --in-place --no-progress

In Buddy, go to your project’s Variables settings and add:

  • Key: PAGEFLARE_LICENSE
  • Value: your license key
  • Check Encrypted to protect the value.

After running the pipeline, check the action logs for the pageflare summary:

Done 145.2 KB saved (38.1%) 1.2s
Files 42 total, 38 optimized, 4 unchanged, 0 errors
FrameworkOutput directory
Astrodist/
Next.js static exportout/
Hugopublic/
Vitedist/
Eleventy_site/

Action fails with “command not found” Make sure the action uses a Node.js environment. Select the Node.js action type or use a Docker image with Node.js installed.