Skip to content

Commit

Permalink
Merge pull request #101 from AR-TTUBEOG/dev
Browse files Browse the repository at this point in the history
cicd
  • Loading branch information
sanggae4133 authored May 8, 2024
2 parents bc19cdb + d2ab1c7 commit 0c7b409
Show file tree
Hide file tree
Showing 2 changed files with 9 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Dockerfile
docker-compose.yaml
deploy_*.sh
app-*.yaml
/src/main/resources/appication.yml

0 comments on commit 0c7b409

Please sign in to comment.