Skip to content

feat/fix-null-error : null 체킹 과정에서 생긴 에러를 length 체크로 변환 #153

feat/fix-null-error : null 체킹 과정에서 생긴 에러를 length 체크로 변환

feat/fix-null-error : null 체킹 과정에서 생긴 에러를 length 체크로 변환 #153

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: SSH and Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd ~/project/develop/
git fetch --all
git checkout ${{ github.head_ref }} &&
git pull &&
docker compose up --build -d &&
git checkout develop &&
git pull origin
git checkout develop