Skip to content

MATE-83 : [FEAT] 테스트 코드 @MockBean jwtUtil 추가 (#73) #3

MATE-83 : [FEAT] 테스트 코드 @MockBean jwtUtil 추가 (#73)

MATE-83 : [FEAT] 테스트 코드 @MockBean jwtUtil 추가 (#73) #3

Workflow file for this run

name: Deploy To EC2
on:
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: SSH로 EC2에 접속하기
uses: appleboy/[email protected]
env:
APPLICATION_PROPERTIES: ${{ secrets.APPLICATION_PROPERTIES }}
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
envs: APPLICATION_PROPERTIES
script_stop: true
script: |
cd /home/ubuntu/WEB1_2_PitchingMate_BE
git pull origin develop
echo "$APPLICATION_PROPERTIES" > src/main/resources/application-dev.yml
./gradlew clean build
sudo fuser -k -n tcp 8080 || true
nohup java -jar build/libs/*SNAPSHOT.jar > ./output.log 2>&1 &