Deploy to the edge in seconds. No account required for sandbox previews.
- uses: solcreek/deploy-action@v1
with:
dir: ./distEvery PR gets a live preview URL. No signup, no API key.
- uses: solcreek/deploy-action@v1
with:
dir: ./dist
token: ${{ secrets.CREEK_TOKEN }}name: Preview
on: pull_request
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci && npm run build
- uses: solcreek/deploy-action@v1
id: creek
with:
dir: ./dist
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: `**Creek Preview** — deployed in ${${{ steps.creek.outputs.duration }}}ms\n\n${{ steps.creek.outputs.url }}`
})name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci && npm run build
- uses: solcreek/deploy-action@v1
id: creek
with:
dir: ./dist
token: ${{ secrets.CREEK_TOKEN }}
- run: echo "Deployed to ${{ steps.creek.outputs.url }}"# No dir needed — Creek detects your framework and build output
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: solcreek/deploy-action@v1Creek auto-detects dist/, build/, out/, or reads creek.toml.
- uses: solcreek/deploy-action@v1
with:
demo: trueDeploys a sample page to verify Creek is reachable. Useful for CI smoke tests.
| Input | Required | Default | Description |
|---|---|---|---|
dir |
No | auto-detect | Directory to deploy |
token |
No | — | Creek API key (get one). Omit for sandbox mode. |
demo |
No | false |
Deploy a sample site |
protect |
No | — | Password-protect this deployment |
| Output | Description |
|---|---|
url |
Deployed URL |
preview-url |
Preview URL (authenticated deploys only) |
sandbox-id |
Sandbox ID (sandbox mode only) |
deployment-id |
Deployment ID (authenticated deploys only) |
duration |
Deploy duration in milliseconds |
mode |
sandbox, production, or demo |
| Sandbox (no token) | Production (with token) | |
|---|---|---|
| Account required | No | Yes |
| TTL | 60 minutes | Permanent |
| Custom domain | No | Yes |
| Rate limit | 10/hr | Unlimited |
| Use case | PR previews, demos | Shipping to production |
This action runs npx creek deploy --json under the hood. The Creek CLI auto-detects your framework, collects build output, and deploys to Cloudflare's edge network.
- Sandbox mode: Deploys to
*.creeksandbox.com(no auth, 60 min TTL) - Production mode: Deploys to
*.bycreek.comor your custom domain
- Creek — Platform homepage
- CLI Documentation — Full CLI reference
- GitHub — Source code
Apache 2.0