Skip to content

Commit

Permalink
Merge pull request #106 from AR-TTUBEOG/main
Browse files Browse the repository at this point in the history
merge to dev
  • Loading branch information
sanggae4133 authored May 8, 2024
2 parents 6e2f139 + a858961 commit 4477ed7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gradle-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,12 @@ jobs:
# OSRM 실행
- name: Run OSRM server
run: cd /home/ubuntu/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
uses: appleboy/ssh-action@master
with:
key: ${{ secrets.EC2_KEY_PROD }}
host: ${{ secrets.EC2_HOST_PROD }}
username: ${{ secrets.EC2_USER_PROD }}
script: |
sudo fuser -k -n tcp 5000
sleep 15
sudo docker run -i -p 5000:5000 -v "/home/ubuntu/osrm:/data" osrm/osrm-backend osrm-routed --algorithm mld /data/south-korea-latest.osrm

0 comments on commit 4477ed7

Please sign in to comment.