Skip to content

fix: 운영체제 수정 #2

fix: 운영체제 수정

fix: 운영체제 수정 #2

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
- feature/deploy
jobs:
build-deploy:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy to S3
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Upload to S3
run: |
aws s3 sync ./dist/ s3://${{ secrets.AWS_S3_BUCKET }} --delete