-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) ยท 992 Bytes
/
dev-deploy.yml
File metadata and controls
38 lines (30 loc) ยท 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Deploy - Dev
on:
push:
branches: ['dev']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: ๐ netlify์๊ฒ ํ ์คํ์ต๋๋ค. ๋์ค์ prod ๋ฐฐํฌํ ๋ ์ฐธ๊ณ ํ ๊ฑฐ์์
uses: actions/checkout@v4
# - name: โจ๏ธ ์์ค์ฝ๋ ํ์ธ์ค!
# uses: actions/checkout@v4
# - name: โจ๏ธ Node.js ์ค์น์ค!
# uses: actions/setup-node@v3
# with:
# node-version: 20.x
# - name: ๐ฆ ํจํค์ง ์ค์น์ค!
# run: npm install
# - name: ๐ฆ ํ๊ฒฝ๋ณ์ ์ค์ ์ค!
# run: |
# touch .env
# echo VITE_API_URL=${{ secrets.VITE_API_URL }} >> .env
# echo VITE_BASE_URL=${{ secrets.VITE_BASE_URL }} >> .env
# - name: ๐ฆ ๋น๋์ค!
# run: npm run build
# - name: ๐ ๋ฐฐํฌ์ค!
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GH_ACTIONS_TOKEN }}
# publish_dir: ./dist