-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathcircle.yml
More file actions
33 lines (33 loc) · 810 Bytes
/
circle.yml
File metadata and controls
33 lines (33 loc) · 810 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
29
30
31
32
33
---
machine:
node:
version: "iojs-v3.0.0"
environment:
S3_BUCKET: react-lambda-example
AWS_REGION: us-east-1
LAMBDA_FUNCTION_NAME: testFunction
LAMBDA_BUCKET_NAME: react-lambda-example/lambda_versions
STATIC_BUCKET_NAME: react-lambda-example/static_versions
AWS_STATIC_DOMAIN: //d14uoqs6f7f5cn.cloudfront.net/static_versions/
test:
override:
-
npm run release
deployment:
staging:
branch: master
commands:
-
npm run zip
-
npm run deploy
-
npm run deploy-static
-
git config --global user.email 'circleci@import.io'
-
git config --global user.name 'Circle CI'
-
./tag.sh
-
npm run deploy-lambda