Website

Check-in [61b3c2c35d]
Login
Overview
Comment:Update deploy script for so images will be uploaded.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 61b3c2c35d8c6cf49a66a0749e2cd39b7c3a22decc8b7ba1fc2a5ea2b8070d59
User & Date: robin.hansen on 2021-06-11 14:49:37
Other Links: manifest | tags
Context
2021-06-15
13:08
Interpret return values in playground as Int, not Uint. check-in: 8a445efb10 user: robin.hansen tags: trunk
2021-06-11
14:49
Update deploy script for so images will be uploaded. check-in: 61b3c2c35d user: robin.hansen tags: trunk
14:42
Final touches for v0.2.0-alpha release. check-in: 49964070d8 user: robin.hansen tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified deploy.sh from [dbc6d48122] to [2787aa512f].

7
8
9
10
11
12
13
14
15
16
17



18
19
20
21
22
23
24
25



26
27
28
npm ci
npm run build

# Upload to s3
pushd dist

aws s3 cp ./index.html s3://stabel-website \
    --cache-control max-age=600

aws s3 cp ./community.html s3://stabel-website \
    --cache-control max-age=600




aws s3 cp ./*.css s3://stabel-website \
    --cache-control immutable

aws s3 cp ./playground.html s3://stabel-website \
    --cache-control max-age=600

aws s3 cp ./*.js s3://stabel-website \



    --cache-control immutable

popd







|


|
>
>
>




|
|

|
>
>
>



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
34
npm ci
npm run build

# Upload to s3
pushd dist

aws s3 cp ./index.html s3://stabel-website \
    --cache-control max-age=900

aws s3 cp ./community.html s3://stabel-website \
    --cache-control max-age=900

aws s3 cp ./playground.html s3://stabel-website \
    --cache-control max-age=900

aws s3 cp ./*.css s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.js s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.ico s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.png s3://stabel-website \
    --cache-control immutable

popd