diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 73fce74..50a902b 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -114,3 +114,11 @@ 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