Skip to content

package.json에 환경 변수 추가 #150

package.json에 환경 변수 추가

package.json에 환경 변수 추가 #150

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
- feat/serveractions
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: SSH Remote Commands
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{secrets.SSH_HOST}}
username: ${{secrets.SSH_USER}}
key: ${{secrets.SSH_KEY}}
script: |
cd ~/csereal-web
git pull
npm run build
pm2 restart csereal_front