appleboy / scp-action

GitHub Action that copy files and artifacts via SSH.
https://github.com/marketplace/actions/scp-command-to-transfer-files
MIT License
1.25k stars 135 forks source link

strip components not working when copying folder #177

Open FrostyKitten02 opened 6 months ago

FrostyKitten02 commented 6 months ago

When I copy entire directory it doesn't remove leading path.

I expected output to be in /var/www/html but it ends up in /var/www/html/build

actions.txt

cesarak commented 6 months ago

Hi @FrostyKitten02, the strip variable expects an int instead of a bool.

Try this strip_components: 1