Commit 0ffcf01f authored by David Haynes's avatar David Haynes 🙆

Let's instead force the mime type

parent ed48da9b
Pipeline #3014 passed with stages
in 46 seconds
......@@ -29,7 +29,7 @@ deploy:
image: python:latest
script:
- pip install s3cmd
- s3cmd put ./build/css/ s3://srct/masonstrap/ --recursive --host='nyc3.digitaloceanspaces.com' --host-bucket='%(bucket)s.nyc3.digitaloceanspaces.com' --exclude='*' --include='*.min.css' --acl-public --add-header='content-type':'text/css'
- s3cmd put ./build/js/ s3://srct/masonstrap/ --recursive --host='nyc3.digitaloceanspaces.com' --host-bucket='%(bucket)s.nyc3.digitaloceanspaces.com' --exclude='*' --include='*.min.js' --acl-public --add-header='content-type':'application/javascript'
- s3cmd put ./build/css/ s3://srct/masonstrap/ --recursive --host='nyc3.digitaloceanspaces.com' --host-bucket='%(bucket)s.nyc3.digitaloceanspaces.com' --exclude='*' --include='*.min.css' --acl-public -m 'text/css'
- s3cmd put ./build/js/ s3://srct/masonstrap/ --recursive --host='nyc3.digitaloceanspaces.com' --host-bucket='%(bucket)s.nyc3.digitaloceanspaces.com' --exclude='*' --include='*.min.js' --acl-public -m 'application/javascript'
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment