From 163bf4f308779a1f1ed7a8cb5727e605f0764df2 Mon Sep 17 00:00:00 2001 From: Dustbox <53044223+sanggae4133@users.noreply.github.com> Date: Wed, 8 May 2024 17:14:35 +0900 Subject: [PATCH 1/2] Update gradle-prod.yml --- .github/workflows/gradle-prod.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/gradle-prod.yml b/.github/workflows/gradle-prod.yml index 7fad33c..2cd5ea7 100644 --- a/.github/workflows/gradle-prod.yml +++ b/.github/workflows/gradle-prod.yml @@ -114,3 +114,8 @@ jobs: sudo fuser -k -n tcp 8080 sleep 15 sudo nohup java -jar /home/ubuntu/app/*.jar > ./nohup.out 2>&1 & + + # OSRM 실행 + - name: Run OSRM server + run: cd osrm ; sudo docker run -t -i -p 5000:5000 -v "${PWD}:/data" osrm/osrm-backend osrm-routed --algorithm mld /data/south-korea-latest.osrm + shell: bash From 55091bffb1baf9edfe7106bdf929145dc992773e Mon Sep 17 00:00:00 2001 From: Dustbox <53044223+sanggae4133@users.noreply.github.com> Date: Wed, 8 May 2024 17:15:04 +0900 Subject: [PATCH 2/2] Update gradle.yml --- .github/workflows/gradle.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 50a902b..73fce74 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -114,11 +114,3 @@ jobs: sudo fuser -k -n tcp 8080 sleep 15 sudo nohup java -jar /home/ubuntu/app/*.jar > ./nohup.out 2>&1 & - - - name: Run OSRM server - uses: appleboy/scp-action@master - with: - key: ${{ secrets.EC2_KEY_DEV }} - host: ${{ secrets.EC2_HOST_DEV }} - username: ${{ secrets.EC2_USER_DEV }} - command: cd osrm ; sudo docker run -t -i -p 5000:5000 -v "${PWD}:/data" osrm/osrm-backend osrm-routed --algorithm mld /data/south-korea-latest.osrm \ No newline at end of file