Skip to content

Commit

Permalink
feat: deploy.yml build 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GihoKo committed Jul 13, 2024
1 parent b4bb41f commit b5ed28e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@ jobs:
- name: Install dependencies
run: npm install

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '21.0.0' # 원하는 Node.js 버전을 지정하세요

- name: Build project
run: npm run build

- name: Install AWS CLI v2
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
- name: Deploy to S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit b5ed28e

Please sign in to comment.