Skip to content

Commit

Permalink
Update server_cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Imsyp authored Sep 20, 2024
1 parent 087338d commit ab64f6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/server_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
sudo docker stop swdc-container || true
sudo docker rm swdc-container || true
rm -rf /home/patturning1/deployment/swdc-0.0.1-SNAPSHOT.jar
scp -r ./server/build/libs/swdc-0.0.1-SNAPSHOT.jar patturning1@${{ secrets.GCP_SERVER_VM_HOST }}:/home/patturning1/deployment/
scp -r server/build/libs/swdc-0.0.1-SNAPSHOT.jar patturning1@${{ secrets.GCP_SERVER_VM_HOST }}:/home/patturning1/deployment/
cd /home/patturning1/deployment
sudo docker build -t swdc-app
sudo docker build -t swdc-app .
sudo docker run -d -p 8080:8080 --name swdc-container swdc-app

Expand Down

0 comments on commit ab64f6c

Please sign in to comment.