Skip to content

Commit

Permalink
[cicd] modify gradle-prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sanggae4133 committed May 8, 2024
1 parent ef6cf79 commit d2ab1c7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d2ab1c7

Please sign in to comment.