Drone push website to s3 - target destination not seeming to work

I’ve got a simple pipeline that builds a website. I’m then trying to push the website to aws s3

access_key:
  from_secret: awsid
secret_key:
  from_secret: awskey
source: public/**/*
target: /

When it actually executes it pushes the files in the public folder to bucket/public

How can I configure this to push files in the public folder to bucket/

strip_prefix: public/

is how you do it