Skip to content

Commit 7a8f3c3

Browse files
committed
feat: prod deploy
1 parent ae5b415 commit 7a8f3c3

File tree

2 files changed

+32
-38
lines changed

2 files changed

+32
-38
lines changed

โ€Ž.github/workflows/dev-deploy.ymlโ€Ž

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy - Prod
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: โŒจ๏ธ ์†Œ์Šค์ฝ”๋“œ ํ™•์ธ์ค‘!
12+
uses: actions/checkout@v4
13+
14+
- name: โŒจ๏ธ Node.js ์„ค์น˜์ค‘!
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20.x
18+
19+
- name: ๐Ÿ“ฆ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ •์ค‘!
20+
run: echo "${{ secrets.ENV_FILE }}" > .env
21+
22+
- name: ๐Ÿ“ฆ ํŒจํ‚ค์ง€ ์„ค์น˜์ค‘!
23+
run: yarn install
24+
25+
- name: ๐Ÿ“ฆ ๋นŒ๋“œ์ค‘!
26+
run: yarn build
27+
28+
# - name: ๐Ÿš€ ๋ฐฐํฌ์ค‘!
29+
# uses: peaceiris/actions-gh-pages@v3
30+
# with:
31+
# github_token: ${{ secrets.GH_ACTIONS_TOKEN }}
32+
# publish_dir: ./dist

0 commit comments

Comments
ย (0)