ssh-webpack-plugin
ssh-webpack-plugin copied to clipboard
before and after commond seem not work?
Connecting: 192.168.1.1
Connected: 192.168.1.1
Before Deploy Running Remote Commands:
> cd /home/www/
> rm -rf abc && mkdir abc
Uploading Deploy Files:
upload file from local path: ./tar/abc-dev.tar.gz to remote path: /home/www/
done uploading.
After Deploy Running Remote Commands:
> tar -xzvf ./abc-dev.tar.gz -C /home/www/abc/
Deployed: 15607ms
Closed: 192.168.1.1
abc not be created? when i copy this commands in terminal. it works
node v10.15.3
it seems "cd /home/www/" not work
another question is my tar.gz file sizes is 2MB, but upload to server is100kb?