Created
July 22, 2022 19:59
-
-
Save shrawanx/62c532757f476326057060b6b718d735 to your computer and use it in GitHub Desktop.
push build.zip to server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd build && zip -r ../build.zip . *;cd - | |
scp build.zip server:/home/ubuntu/ | |
ssh server /bin/bash << EOF | |
unzip /home/ubuntu/build.zip -d /home/ubuntu/frontend/ | |
A | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment