File tree Expand file tree Collapse file tree 2 files changed +26
-11
lines changed Expand file tree Collapse file tree 2 files changed +26
-11
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Deploy Website
3
3
on :
4
4
push :
5
5
branches : [ main ]
6
-
7
6
workflow_dispatch :
8
7
9
8
jobs :
@@ -12,23 +11,28 @@ jobs:
12
11
13
12
steps :
14
13
- name : Checkout Repository
15
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Setup Node.js
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : ' 20'
16
20
17
- - name : Configure AWS
18
- uses : aws-actions/configure-aws-credentials@v1
21
+ - name : Configure AWS Credentials
22
+ uses : aws-actions/configure-aws-credentials@v4
19
23
with :
20
24
aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
21
25
aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
22
26
aws-region : us-east-1
23
27
24
- - name : Install Modules
25
- run : yarn install
28
+ - name : Install Dependencies
29
+ run : yarn install --frozen-lockfile
26
30
27
31
- name : Build Application
28
32
run : yarn run build
29
33
30
- - name : Deploy To S3
34
+ - name : Deploy to S3
31
35
run : aws s3 sync ./dist s3://${{ secrets.BUCKET_NAME }}
32
36
33
- - name : Create Cloudfront Invalidation
37
+ - name : Create CloudFront Invalidation
34
38
run : aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/*"
Original file line number Diff line number Diff line change @@ -16,16 +16,27 @@ function Experience() {
16
16
} ) ;
17
17
18
18
return (
19
+ < >
20
+ < mesh
21
+ // rotation={[0,0,0]}
22
+ scale = { .75 }
23
+ position = { [ - 3 , 0 , 0 ] }
24
+ >
25
+ < sphereGeometry />
26
+ < meshBasicMaterial color = { "purple" } />
27
+ </ mesh >
28
+
19
29
< mesh
20
30
ref = { cube }
21
- scale = { clicked ? 1.5 : 1 }
31
+ scale = { clicked ? 2 : 1 }
22
32
onClick = { ( ) => click ( ! clicked ) }
23
33
onPointerOver = { ( event ) => ( event . stopPropagation ( ) , hover ( true ) ) }
24
34
onPointerOut = { ( ) => hover ( false ) }
25
35
>
26
- < boxGeometry args = { [ 1 , 1 , 1 ] } />
27
- { hovered ? < meshNormalMaterial /> : < meshStandardMaterial color = "hotpink" /> }
36
+ < boxGeometry />
37
+ { hovered ? < meshBasicMaterial color = { "purple" } /> : < meshBasicMaterial color = { "yellow" } /> }
28
38
</ mesh >
39
+ </ >
29
40
) ;
30
41
}
31
42
You can’t perform that action at this time.
0 commit comments