-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from boostcampwm2023/BE-SetCD-#49
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI Workflow | ||
name: Backend CI | ||
|
||
on: | ||
pull_request: | ||
|