Skip to content

Commit 5e26c2b

Browse files
committed
Merge branch 'revert-api' of https://github.com/wafflestudio/moisha-web into revert-api
2 parents 6e26db5 + f8ea4d7 commit 5e26c2b

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/deploy-temp.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: deploy-temp
2+
3+
on:
4+
push:
5+
branches:
6+
- revert-api
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
name: Deploy
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Setup Node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20.11.1'
21+
22+
- name: Build & Export
23+
run: |
24+
yarn install
25+
yarn build
26+
27+
- name: Deploy to S3 and Invalidate Cloudfront
28+
env:
29+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
30+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
31+
AWS_REGION: ap-northeast-2
32+
run: |
33+
aws s3 sync ./dist s3://waffle-team4-web-temp --delete
34+
aws cloudfront create-invalidation --distribution-id E2HDLBJVBNM8HH --paths "/*"

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>모이샤 dev</title>
7+
<title>모이샤 Alpha</title>
88
</head>
99
<body>
1010
<div id="root"></div>

0 commit comments

Comments
 (0)