-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(scripts): pull 대신 깃허브 리포지토리 삭제 및 클론으로 변경
변경 후 - 해당 사항 반영
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
cd /home/ubuntu/Server | ||
git pull origin master | ||
git clone https://github.com/PetToothFairy/Server.git | ||
cp docker-compose.yml ./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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
cd /home/ubuntu/Server | ||
|
||
docker-compose down | ||
docker image prune -a | ||
|
||
docker image prune -a | ||
cp docker-compose.yml ../ | ||
|
||
cd ../ | ||
|
||
rm -rf Server |