Skip to content

Commit

Permalink
Merge pull request #77 from boostcampwm2023/BE-SetCD-#49
Browse files Browse the repository at this point in the history
  • Loading branch information
namewhat99 authored Nov 20, 2023
2 parents 6649a53 + 67181e8 commit 36aaab5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/BE-CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Backend CD

on:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted

steps:
# 해당 레포의 소스코드가 작업 환경에 복제된다 , checkout 의 2번째 버젼 사용
- name: Checkout repository
uses: actions/checkout@v2
# node.js 를 설치한다.
- name: run npm
run: |
cd be
npm install
pm2 start npm -- run start:dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI Workflow
name: Backend CI

on:
pull_request:
Expand Down

0 comments on commit 36aaab5

Please sign in to comment.