ShipStatic ShipStatic

Hosting GitHub Action

Publish on every push. No account required for preview deployments. One step to ship and link to your domain.

deploy.yml
name: Deploy
on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
      - run: npm ci && npm run build
      - uses: shipstatic/action@v2
        with:
          token: $${{ secrets.SHIP_TOKEN }}
          path: ./dist
          domain: www.example.com
CI/CD Integration

Push to deploy.

Add one step to your GitHub Actions workflow. No account needed for PR previews — add an API key for permanent deployments.

  • PR previews without an account
  • Permanent deployments with a free API key
  • PR preview comments with live URL
  • Deploy and link your domain in one step
Configuration as Code

One file. Full control.

Drop a ship.json in your project root to configure rewrites, redirects, and custom headers. No dashboard clicks, no deploy flags, just code.

SPA Rewrites

Route all paths to index.html for client-side routing.

Redirects

Permanent or temporary redirects with status codes.

Custom Headers

Set CORS, CSP, cache-control, and any other HTTP header.

ship.json
{
  "rewrites": [
    {
      "source": "/**",
      "destination": "/index.html"
    }
  ]
}

Ready to go live?

Free to start. No credit card required.