Skip to content
StaticHero

GitHub Action · Early access

Push to GitHub, publish to StaticHero

The official StaticHero GitHub Action, CLI and deploy API are in early access. Join the list and we’ll invite you as soon as your account can use them.

Status
Early access
Includes
Action, CLI, API
Plans
All paid plans
Preview deploys
Planned

In short

StaticHero is building an official GitHub Action that deploys a folder (such as dist or build) to a StaticHero site on every push, using an API token stored as a repository secret. It is in early access as of October 2026; until then you can deploy by dragging your build folder into the dashboard. Join the waitlist on this page to get access.

Updated

Try it

Get early access

Be first to deploy from GitHub, the CLI and the API.

Join the early-access list

What the workflow will look like

Here’s the planned interface. It deploys the output of your build step to an existing StaticHero site.

.github/workflows/deploy.yml
name: Deploy
on:
  push:
    branches: [main]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm ci && npm run build
      - uses: statichero/deploy-action@v1
        with:
          site: my-site            # your site's address
          dir: dist                # folder to publish
          token: ${{ secrets.STATICHERO_TOKEN }}

Deploying today

Until the action ships, run your build locally and drag the output folder (dist, build or out) onto your site in the dashboard. Every upload becomes a version you can roll back, exactly like an automated deploy.

FAQ

Frequently asked questions

Still curious? Ask us anything — a person will reply.

When will the GitHub Action be available?

+

It’s in early access. Join the waitlist and we’ll email you when your account is enabled.

Will there be a CLI too?

+

Yes — npx statichero deploy ./dist and a REST deploy API are part of the same release.

Will it support preview deployments for pull requests?

+

Preview deploys per pull request are planned for after the first release.

Your site could be live in the next minute.

One site free, forever. No credit card, no setup, no servers.