Commit ef72faec authored by David Haynes's avatar David Haynes 🙆

Specify content types in put

parent 010b50f1
Pipeline #3010 passed with stages
in 46 seconds
...@@ -29,6 +29,7 @@ deploy: ...@@ -29,6 +29,7 @@ deploy:
image: python:latest image: python:latest
script: script:
- pip install s3cmd - pip install s3cmd
- s3cmd put ./build/ s3://srct/masonstrap/ --recursive --host='nyc3.digitaloceanspaces.com' --host-bucket='%(bucket)s.nyc3.digitaloceanspaces.com' --exclude='*' --include='*.min.*' --acl-public - s3cmd put ./build/ 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/ 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
only: only:
- master - 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