class Envirobly::Aws::S3

def upload_manifest(key, content)

def upload_manifest(key, content)
  Tempfile.create([ "envirobly-push", ".gz" ]) do |tempfile|
    gz = Zlib::GzipWriter.new(tempfile)
    gz.write JSON.dump(content)
    gz.close
    @client.put_object(bucket: @bucket, body: tempfile, key:)
    # puts "⤴ #{key}"
  end
end