Last active
December 27, 2018 19:37
-
-
Save VovaStelmashchuk/8f5ba2d48e0cd7ddd216249390d32da6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
scp Desktop/web/src/main/resources/* [email protected]:/var/www/schoolhelper.tech/blog/vpn | |
scp -r src/main/resources/blog [email protected]:/var/www/schoolhelper.tech | |
### deploy | |
gradle bootJar & ssh [email protected] "mkdir -p /root/backend/build/libs/" & scp docker-compose.yml [email protected]:/root/backend/ & scp Dockerfile [email protected]:/root/backend/ & scp build/libs/backend-0.0.1-SNAPSHOT.jar [email protected]:/root/backend/build/libs/backend-0.0.1-SNAPSHOT.jar & ssh [email protected] "cd backend && docker-compose up -d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment