Skip to content

Stormkit

Stormkit deploys static sites from GitHub and GitLab repositories. pageflare integrates by customizing the build command in the Stormkit dashboard.

Override the build command in Stormkit to run pageflare after your framework’s build.

Terminal window
npm install -D @pageflare/cli

In the Stormkit dashboard, go to your environment settings and set the Build Command to:

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

Set the Publish Directory to dist/ (or your framework’s output directory).

In the Stormkit dashboard, add an environment variable:

  • Key: PAGEFLARE_LICENSE
  • Value: your license key

After deploying, check the build 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/

pageflare processes 0 files The output directory in the build command doesn’t match your framework’s output. Update the path to match.