We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada2b82 commit 0af652eCopy full SHA for 0af652e
buildspec.yml
@@ -0,0 +1,22 @@
1
+version: 0.1
2
+environment_variables:
3
+ plaintext:
4
+ S3_BUCKET: "erc721validator.org"
5
+ DIST_FOLDER: "dist"
6
+phases:
7
+ install:
8
+ commands:
9
+ - echo Installing source dependencies...
10
+ - npm cache verify
11
+ - npm install
12
+ - npm run generate
13
+ - echo App generated
14
+ build:
15
16
+ - echo Build started on `date`
17
+ - aws s3 rm s3://$S3_BUCKET/ --recursive
18
+ - aws s3 cp "./$DIST_FOLDER/" s3://$S3_BUCKET/ --recursive
19
+ post_build:
20
21
+ - aws cloudfront create-invalidation --distribution-id $EB_DISTRO --paths /\*
22
+ - echo Build completed on `date`
0 commit comments