Skip to content

Commit

Permalink
Merge pull request #191 from Hack23/pethers-patch-1
Browse files Browse the repository at this point in the history
Update budget.json
  • Loading branch information
pethers authored Jun 24, 2024
2 parents 4d081e7 + 1695f09 commit e8a3777
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:
aws s3 sync . s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/ --exclude ".git/*"
- name: Set cache headers S3
run: |
aws s3 cp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/styles.css s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/styles.css --metadata-directive REPLACE --cache-control max-age=86400 --content-type "text/css"
aws s3 cp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/jamespethersorling.webp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/jamespethersorling.webp --metadata-directive REPLACE --cache-control max-age=86400 --content-type "image/webp"
aws s3 cp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/styles.css s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/styles.css --metadata-directive REPLACE --cache-control max-age=31536000 --content-type "text/css"
aws s3 cp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/jamespethersorling.webp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/jamespethersorling.webp --metadata-directive REPLACE --cache-control max-age=31536000 --content-type "image/webp"
aws s3 cp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/jamespethersorling.webp s3://amazon-cloudfront-secure-static-site-s3bucketroot-14oliw5cmta06/jamespethersorling150.webp --metadata-directive REPLACE --cache-control max-age=31536000 --content-type "image/webp"
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@2f8dda6cf4de7d73b29853c3f29e73a01e297bd8 # v9
with:
Expand Down
4 changes: 2 additions & 2 deletions budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"timings": [
{
"metric": "interactive",
"budget": 2500
"budget": 3000
},
{
"metric": "first-meaningful-paint",
"metric": "first-contentful-paint",
"budget": 1500
}
],
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 class="panel-caption">Hack23 </h2>
<tr>
<th scope="col">
<figure>
<img src="jamespethersorling.webp" alt="James Pether Sörling"
<img src="jamespethersorling150.webp" alt="James Pether Sörling"
style="width: 150px; height: 150px; margin-right: 20px;" loading="lazy">
<figcaption>About James Pether Sörling</figcaption>
</figure>
Expand Down
2 changes: 1 addition & 1 deletion index_sv.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h2 class="panel-caption">Hack23 </h2>
<tr>
<th scope="col">
<figure>
<img src="jamespethersorling.webp" alt="James Pether Sörling"
<img src="jamespethersorling150.webp" alt="James Pether Sörling"
style="width: 150px; height: 150px; margin-right: 20px;" loading="lazy">
<figcaption>About James Pether Sörling</figcaption>
</figure>
Expand Down

0 comments on commit e8a3777

Please sign in to comment.