Skip to content

Commit

Permalink
fix(scripts): pull 대신 깃허브 리포지토리 삭제 및 클론으로 변경
Browse files Browse the repository at this point in the history
변경 후
- 해당 사항 반영
  • Loading branch information
kaswhy committed Nov 13, 2024
1 parent 6cb4fb9 commit be315d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/initialize.sh
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
7 changes: 6 additions & 1 deletion scripts/stop.sh
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

0 comments on commit be315d8

Please sign in to comment.