@@ -41,10 +41,10 @@ jobs:
4141 aws-region : us-east-1
4242 - name : Create website blog.tilt.dev
4343 run : |
44- JEKYLL_ENV=production jekyll build -s blog -d blog/_site
44+ JEKYLL_ENV=production bundle exec jekyll build -s blog -d blog/_site
4545 - name : Deploy website blog.tilt.dev
4646 run : |
47- aws s3 cp --content-type="application/json" --acl=public-read blog/_site s3://prod-collaboration-blog.tilt.dev/
47+ aws s3 sync blog/_site s3://prod-collaboration-blog.tilt.dev/ --region us-east-1 --delete
4848 - name : Invalidate CloudFront cache for blog.tilt.dev
4949 run : |
5050 aws cloudfront create-invalidation --distribution-id E3N3T1RV0AK16L --paths "/*"
@@ -57,10 +57,10 @@ jobs:
5757 aws-region : us-east-1
5858 - name : Create website docs.tilt.dev
5959 run : |
60- JEKYLL_ENV=production jekyll build -s docs -d docs/_site
60+ JEKYLL_ENV=production bundle exec jekyll build -s docs -d docs/_site
6161 - name : Deploy website docs.tilt.dev
6262 run : |
63- aws s3 cp --content-type="application/json" --acl=public-read docs/_site s3://prod-collaboration-docs.tilt.dev/
63+ aws s3 sync docs/_site s3://prod-collaboration-docs.tilt.dev/ --region us-east-1 --delete
6464 - name : Invalidate CloudFront cache for docs.tilt.dev
6565 run : |
6666 aws cloudfront create-invalidation --distribution-id E1EL5SJ56F1K8Q --paths "/*"
@@ -73,10 +73,10 @@ jobs:
7373 aws-region : us-east-1
7474 - name : Create website www.tilt.dev
7575 run : |
76- JEKYLL_ENV=production jekyll build -s src -d src/_site
76+ JEKYLL_ENV=production bundle exec jekyll build -s src -d src/_site
7777 - name : Deploy website www.tilt.dev
7878 run : |
79- aws s3 cp --content-type="application/json" --acl=public-read www/ _site s3://prod-collaboration-www. tilt.dev/
79+ aws s3 sync src/ _site s3://prod-collaboration-tilt.dev/ --region us-east-1 --delete
8080 - name : Invalidate CloudFront cache for www.tilt.dev
8181 run : |
8282 aws cloudfront create-invalidation --distribution-id E34ACMVUMLXEP6 --paths "/*"
0 commit comments