Skip to content

Commit 9254048

Browse files
committed
chore(BE): 백엔드 CI/CD 구축 (#2)
* chore: workflows checkout step 추가
1 parent 31dc975 commit 9254048

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/backend-dev.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ jobs:
6565
working-directory: ./backend
6666

6767
steps:
68+
- name: Git Checkout
69+
uses: actions/checkout@v3
70+
6871
- name: Copy appspec.yml
69-
run:
70-
cp ./appspec-dev.yml ./appspec.yml
72+
run: mv ./appspec-dev.yml ./appspec.yml
7173

7274
- name: Make zip file
7375
run: zip -qq -r ./dev.zip . -x "node_modules/*"

.github/workflows/backend-prod.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ jobs:
6565
working-directory: ./backend
6666

6767
steps:
68+
- name: Git Checkout
69+
uses: actions/checkout@v3
70+
6871
- name: Copy appspec.yml
69-
run:
70-
cp ./appspec-prod.yml ./appspec.yml
72+
run: mv ./appspec-prod.yml ./appspec.yml
7173

7274
- name: Make zip file
7375
run: zip -qq -r ./prod.zip . -x "node_modules/*"

0 commit comments

Comments
 (0)