-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathamplify.yml
More file actions
28 lines (28 loc) · 987 Bytes
/
amplify.yml
File metadata and controls
28 lines (28 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: 1
applications:
- backend:
phases:
build:
commands:
- 'echo "Deploying backend - Branch: $AWS_BRANCH"'
- 'echo "TABLE_ENV_SUFFIX: ${TABLE_ENV_SUFFIX:-not set, will use prod default}"'
# Note: MCP server bootstrap binary is pre-built and committed
- 'echo "Using pre-built MCP server bootstrap from amplify/mcp-server/rust-mcp-server/.build/"'
- npm ci --cache .npm --prefer-offline
- npx ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID
frontend:
phases:
build:
commands:
- 'echo "Building frontend - Branch: $AWS_BRANCH"'
- 'echo "TABLE_ENV_SUFFIX: ${TABLE_ENV_SUFFIX:-not set, will use prod default}"'
- npm run build
artifacts:
baseDirectory: dist
files:
- '**/*'
cache:
paths:
- .npm/**/*
- node_modules/**/*
appRoot: ui_amplify