File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 8787 aws --region ${{ env.DOCS_AWS_REGION }} s3 sync \
8888 --delete \
8989 --exclude "*.webp" \
90+ --exclude "pagefind/*.pf_meta" \
91+ --exclude "pagefind/fragment/*.pf_fragment" \
9092 public s3://${{ env.DOCS_S3_BUCKET }}/
93+ -
94+ name : Upload pagefind files with compression headers
95+ if : ${{ env.DOCS_S3_BUCKET != '' }}
96+ run : |
97+ aws --region ${{ env.DOCS_AWS_REGION }} s3 cp \
98+ --recursive \
99+ --content-encoding="gzip" \
100+ --content-type="application/octet-stream" \
101+ --metadata-directive="REPLACE" \
102+ public/pagefind/ s3://${{ env.DOCS_S3_BUCKET }}/pagefind/ \
103+ --exclude "*" \
104+ --include "*.pf_meta" \
105+ --include "*.pf_fragment"
91106 -
92107 name : Update Cloudfront config
93108 if : ${{ env.DOCS_CLOUDFRONT_ID != '' }}
You can’t perform that action at this time.
0 commit comments