Skip to content

Merge pull request #52 from boostcampwm2023/feat/48-emotion-icon-ui #2

Merge pull request #52 from boostcampwm2023/feat/48-emotion-icon-ui

Merge pull request #52 from boostcampwm2023/feat/48-emotion-icon-ui #2

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
be-deploy:
runs-on: ubuntu-20.04
steps:
- name: SSH-deploy
uses: appleboy/ssh-action@master
with:
host: ${{secrets.VPC_HOST}}
username: ${{secrets.VPC_USER}}
password: ${{secrets.VPC_PASSWORD}}
port: ${{secrets.VPC_PORT}}
script: |
whoami
cd /home/web08-ByeolSoop
git pull origin main
cd BE
npm install --force
killall node
npm start
fe-deploy:
needs: be-deploy
runs-on: ubuntu-20.04
steps:
- name: SSH-deploy
uses: appleboy/ssh-action@master
with:
host: ${{secrets.VPC_HOST}}
username: ${{secrets.VPC_USER}}
password: ${{secrets.VPC_PASSWORD}}
port: ${{secrets.VPC_PORT}}
script: |
whoami
cd /home/web08-ByeolSoop
git pull origin main
cd FE
npm install --force
npm start