Closed josegomezr closed 7 years ago
Hi @josegomezr
You can try the following config.
target: /var/www/deploy/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}
I close this issue now. Please feel free to reopen the issue if you have the same problem.
Could you provide an example in the documentation: http://plugins.drone.io/appleboy/drone-scp/
@cyberb
I will update it.
@cyberb See: http://plugins.drone.io/appleboy/drone-scp/
Thanks!
According to DroneCI Docs on Drone-SCP its possible to use templates.
Nevertheless, those aren't evaluated at all. For example your Plugin Drone-Telegram have those too, and they evaluate just perfectly.
It'll be great to have them working for parameters like
target
,username
orkey
.Example
Will create a folder called (literally)
/var/www/deploy/{{repo.owner}}/{{repo.name}}
.