SCF

Deploy static sites to AWS S3 and CloudFront with a single command.

Features

  • Simple - One command deployment
  • Fast - Incremental uploads (only changed files)
  • Automatic - CloudFront CDN, SSL certificates, cache invalidation
  • Multi-environment - dev, staging, prod support

Quick Start

bash
# Install
npm install -g scf-deploy

# Initialize config
npx scf-deploy init

# Deploy
npx scf-deploy deploy

Minimal Configuration

typescript
// scf.config.ts
import { defineConfig } from 'scf-deploy';

export default defineConfig({
  app: 'my-site',
  region: 'ap-northeast-2',
  s3: {
    bucketName: 'my-site-bucket-unique-id',
  },
  cloudfront: {
    enabled: true,
  },
});

Requirements

  • Node.js 18+
  • AWS account with credentials configured

Documentation

License

MIT

1 min readLast updated: 2025-11-25