Skip to content

feat: 축사 조회 api userName 추가 #10

feat: 축사 조회 api userName 추가

feat: 축사 조회 api userName 추가 #10

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: bloom-be ci/cd dev
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: SSH build & deploy
uses: appleboy/ssh-action@master
with:
host: ${{secrets.ACTION_SERVER_HOST}}
username: ${{secrets.ACTION_SERVER_USERNAME}}
password: ${{secrets.ACTION_SERVER_PASSWORD}}
port: ${{secrets.ACTION_SERVER_PORT_DEV}}
script: |
cd /root/app/bloom-be
git pull origin develop
./gradlew build
cd /root/app/bloom-be/build/libs
fuser -k 443/tcp
nohup java -jar -Dspring.profiles.active=dev /root/app/bloom-be/build/libs/bloom-0.0.1-SNAPSHOT.jar 1>/dev/null 2>&1 &