Skip to content

Commit

Permalink
reset(deploy): deploy branch reset sync with main
Browse files Browse the repository at this point in the history
  • Loading branch information
admin authored and admin committed Aug 9, 2024
1 parent 402b065 commit 1f418d1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: React build
on:
push:
branches:
- deploy

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout source code
uses: actions/checkout@v3

- name: Clean Yarn cache
run: yarn cache clean

- name: Install Dependencies
run: yarn install

- name: Build
run: yarn build:admin

- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 cp \
--recursive \
--region ap-northeast-2 \
packages/admin/dist s3://yangbong-front

0 comments on commit 1f418d1

Please sign in to comment.