Skip to content

Commit

Permalink
chore: Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ezcolin2 authored Nov 5, 2024
1 parent 6d242c2 commit 2dabe2c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,24 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '23'
# 패키지 설치 및 React 빌드
- name: Install dependencies and build
run: |
cd frontend
npm install
npm run build
# aws cli를 통해 ncloud object storage 업로드
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
aws-access-key-id: ${{ secrets.NCLOUD_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.NCLOUD_SECRET_ACCESS_KEY }}

- name: Upload files to S3
run: |
aws s3 cp ./frontend/dist s3://octodocs/ --recursive
# 패키지 설치 및 Nest.js 빌드
- name: Install dependencies and build
run: |
Expand Down

0 comments on commit 2dabe2c

Please sign in to comment.