Skip to content

Commit ce3915d

Browse files
authored
Merge pull request #178 from prgrms-web-devcourse-final-project/feat/githubAction
[fix] githubAction 수정
2 parents e36a34f + 9df65e9 commit ce3915d

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/autoBuild.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,13 @@ jobs:
2323
username: ${{ secrets.USERNAME }}
2424
key: ${{ secrets.PRIVATE_KEY }}
2525
port: ${{ secrets.PORT }}
26-
27-
- name: Pull latest code from dev branch
28-
run: |
29-
cd /home/ubuntu/react
30-
git pull origin dev
31-
32-
- name: Install dependencies
33-
run: |
34-
npm install
35-
36-
- name: Build React app using Vite
37-
run: |
38-
npm run build
26+
script: |
27+
# Pull latest code from dev branch
28+
cd /home/ubuntu/react
29+
git pull origin dev
30+
31+
# Install dependencies
32+
npm install
33+
34+
# Build React app using Vite
35+
npm run build

0 commit comments

Comments
 (0)