Skip to content

Commit 2dabe2c

Browse files
authored
chore: Update main.yml
1 parent 6d242c2 commit 2dabe2c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,24 @@ jobs:
1919
uses: actions/setup-node@v3
2020
with:
2121
node-version: '23'
22+
# 패키지 설치 및 React 빌드
23+
- name: Install dependencies and build
24+
run: |
25+
cd frontend
26+
npm install
27+
npm run build
28+
29+
# aws cli를 통해 ncloud object storage 업로드
30+
- name: Configure AWS credentials
31+
uses: aws-actions/configure-aws-credentials@v3
32+
with:
33+
aws-access-key-id: ${{ secrets.NCLOUD_ACCESS_KEY_ID }}
34+
aws-secret-access-key: ${{ secrets.NCLOUD_SECRET_ACCESS_KEY }}
2235

36+
- name: Upload files to S3
37+
run: |
38+
aws s3 cp ./frontend/dist s3://octodocs/ --recursive
39+
2340
# 패키지 설치 및 Nest.js 빌드
2441
- name: Install dependencies and build
2542
run: |

0 commit comments

Comments
 (0)