AWS Amplify

Inferred Example - AWS Amplify is not explicitly referenced in the Shevky codebase. This guide is a generic pattern for static site deployment.

Configuration

Create amplify.yml in your project root:

version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Steps

  1. Push your project to a Git repository.
  2. Connect the repository in AWS Amplify Hosting.
  3. Deploy using the detected build settings or your amplify.yml.

Tips

  • Set identity.url to your Amplify domain or custom domain before building.
  • Use npm ci for deterministic builds across branch and preview deployments.

Related