Closed artemanufrij closed 5 years ago
I ran into this situation as well. I think what you want to use is strip_components: 1
in the settings:
section. That's what resolved it for me.
That parameter will strip leading path elements when extracting from the tar that's transferred to the target. The documentation here helped me: http://plugins.drone.io/appleboy/drone-scp/
@snaemi thanks a lot! It was exactly what I needed. :1st_place_medal:
Hey guys, I have a question. How can I copy just content of a folder into target?
What I need:
/var/www/drone/app/webplay/files.xyz
What I get:/var/www/drone/app/webplay/dist/files.xyz
Here is my current script
best regards Artem