appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
142 stars 29 forks source link

Add variable to set temporary tar upload path #100

Closed ivonunes closed 4 years ago

ivonunes commented 4 years ago

I stumbled on a situation where I didn't have permissions to write to the default path for the .tar file upload on the target host. It made drone-scp unusable for my use case.

This pull request adds the capability to change the path the .tar file is uploaded to. It's been fully tested and it resolves the issue I mentioned above.

appleboy commented 4 years ago

@ivonunes Thanks. Good Catch.