fix: set the correct mimetype for Protobuf files (#16)

Without them, Cloudflare will not run Content-Encoding, which
makes the file bigger (on the wire) than they have to be.
This commit is contained in:
Patric Stout
2023-11-21 15:19:07 +01:00
committed by GitHub
parent 84ee53236a
commit 0afd37a4a8

View File

@@ -30,6 +30,11 @@ jobs:
echo "acl = private" >> ~/.config/rclone/rclone.conf
echo "no_check_bucket = true" >> ~/.config/rclone/rclone.conf
- name: Add mimetype for pb2
run: |
echo "application/x-protobuf pb2" | sudo tee -a /etc/mime.types
echo "80:application/x-protobuf:*.pb2" | sudo tee -a /usr/share/mime/globs2
- name: Fetch SDE
run: |
wget -q https://eve-static-data-export.s3-eu-west-1.amazonaws.com/tranquility/sde.zip