Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE/#49] CD 설정 #77

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading