Skip to content

feat: 자동 배포 스크립트 작성 #25

feat: 자동 배포 스크립트 작성

feat: 자동 배포 스크립트 작성 #25

Workflow file for this run

name: be-deploy
on:
push:
branches:
- be-dev
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: SSH-be-deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.NCP_HOST }}
username: ${{ secrets.NCP_USERNAME }}
password: ${{ secrets.NCP_PASSWORD }}
port: ${{ secrets.NCP_PORT }}
script: |
cd /home/be/web12-algo-with-me/
git pull
cd be
./build-all
./run-all-background