Skip to content

feat: WebClient 예외 핸들링 리팩터링, Timeout 예외 핸들링 추가 (#60) (#61) #21

feat: WebClient 예외 핸들링 리팩터링, Timeout 예외 핸들링 추가 (#60) (#61)

feat: WebClient 예외 핸들링 리팩터링, Timeout 예외 핸들링 추가 (#60) (#61) #21

Workflow file for this run

name: cd-back-dev
on:
push:
branches:
- dev
paths: 'src/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: set timezone
uses: szenius/[email protected]
with:
timezoneLinux: "Asia/Seoul"
- name: repository checkout
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.SUBMODULE_TOKEN }}
- name: install java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- name: assign grant gradlew
run: chmod +x gradlew
- name: build with gradle for rest docs
run: ./gradlew build
- name: build with gradle
run: ./gradlew build
- name: deploy use scp
uses: appleboy/scp-action@master
with:
host: ${{vars.SCKR_DEV_IP}}
username: ${{secrets.SCKR_DEV_USERNAME}}
key: ${{secrets.SCKR_DEV_SSH_KEY}}
source: "./build/libs/*.jar"
target: ${{ vars.SCKR_DEV_JAR_DIR }}
strip_components: 2
- name: run application use ssh
uses: appleboy/ssh-action@master
with:
host: ${{vars.SCKR_DEV_IP}}
username: ${{secrets.SCKR_DEV_USERNAME}}
key: ${{secrets.SCKR_DEV_SSH_KEY}}
script_stop: true
script: ${{ vars.SCKR_DEV_DEPLOY_COMMAND }}