Skip to content

♻️ Form 구조를 useState에서 react-hook-form 기반으로 수정 (#282) #3

♻️ Form 구조를 useState에서 react-hook-form 기반으로 수정 (#282)

♻️ Form 구조를 useState에서 react-hook-form 기반으로 수정 (#282) #3

Workflow file for this run

name: Deploy Dev
on:
push:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Prepare deploy key'
run: |
echo "${{ secrets.DEV_SSH_KEY }}" > key
chmod 600 ./key
- name: 'SSH command'
uses: 'nick-fields/retry@v2'
with:
timeout_minutes: 5
max_attempts: 3
retry_wait_seconds: 1
retry_on: 'error'
command: |
ssh -T -i ./key -o StrictHostKeyChecking=no -p ${{ secrets.DEV_SSH_PORT }} ${{ secrets.DEV_SSH_USER }}@${{ secrets.DEV_SSH_HOST }} "
cd ~/csereal-web
git checkout develop
git pull --rebase
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
npm install
npm run build:beta
pm2 reload 0"
# https://stackoverflow.com/a/63771750