-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathamplify.yml
More file actions
32 lines (32 loc) · 1.02 KB
/
amplify.yml
File metadata and controls
32 lines (32 loc) · 1.02 KB
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
29
30
31
32
version: 1
applications:
- appRoot: frontend
frontend:
phases:
preBuild:
commands:
- npm ci
build:
commands:
- npm run build
artifacts:
baseDirectory: dist
files:
- '**/*'
cache:
paths:
- node_modules/**/*
buildSettings:
env:
variables:
# Add your API endpoint here after App Runner deployment
VITE_API_URL: https://tally-backend.33qpgck0g28d0.us-east-1.cs.amazonlightsail.com
VITE_APP_NAME: Tally
VITE_VALIDATOR_RPC_URL: https://zksync-os-testnet-genlayer.zksync.dev
VITE_VALIDATOR_CONTRACT_ADDRESS: 0x143d20974FA35f72B8103f54D8A47F2991940d99
customRules:
- source: '</^[^.]+$|\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|woff2|ttf|map|json|webp)$)([^.]+$)/>'
target: '/index.html'
status: '200'
# Backend is handled by App Runner, not Amplify
# This configuration is for frontend-only deployment