Ship Action
Deploy on every push. One step in your workflow to ship your site and link it to your domain.
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: shipstatic/action@v1
with:
api-key: $${{ secrets.SHIP_API_KEY }}
path: ./dist
domain: www.example.com
CI/CD Integration
Push to deploy.
Add one step to your GitHub Actions workflow. Build, deploy, and link to your domain automatically.
- Deploy on push or PR
- Link domains automatically
- PR preview comments
- GitHub deployment tracking
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?
No extra charges, no surprise bills, nothing to maintain.