appleboy / drone-scp

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

Support drone ci secret method #75

Closed Blackrose closed 6 years ago

Blackrose commented 7 years ago

Hi, i use drone-scp with drone to auto build my task.And I follow the document(http://plugins.drone.io/appleboy/drone-scp/) to setting username and password is work fine in drone.yml file.But i doesn't want write plaintext the username and password in that file.Did the drone-scp support secret method of drone?Thanks

vishal24tuniki commented 6 years ago

@Blackrose It supports all these secrets, you don't need plain texts https://github.com/appleboy/drone-scp/blob/master/main.go#L29

appleboy commented 6 years ago

@Blackrose the document is out of date. Please follow the new secret document. See http://docs.drone.io/manage-secrets/

Blackrose commented 6 years ago

Thanks.I will try it.