Skip to content

Commit

Permalink
Merge pull request #3 from ncb6206/test-tanstack
Browse files Browse the repository at this point in the history
react query 추가
  • Loading branch information
ncb6206 authored Jan 14, 2024
2 parents 4d2f74a + 4167ec0 commit 7389e17
Show file tree
Hide file tree
Showing 16 changed files with 2,503 additions and 8,293 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI/CD

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: deploy to s3
uses: jakejarvis/s3-sync-action@master
with:
args: --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'ap-northeast-2'
SOURCE_DIR: 'build'
Loading

0 comments on commit 7389e17

Please sign in to comment.