-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (45 loc) · 1.07 KB
/
deploy-production.yaml
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
39
40
41
42
43
44
45
46
47
48
49
name: Production Deploy # Github Action 페이지 좌측 리스트에 표시될 이름
on:
push:
branches: [main]
paths:
- apps/**
- packages/**
- .github/workflows/**
- package.json
- pnpm-lock.yaml
- turbo.json
- tsconfig.json
jobs:
# Build Apps
frontend-build:
name: Frontend Build
secrets: inherit
uses: ./.github/workflows/node-build-reuseable.yaml
with:
type: frontend
env: production
backend-build:
name: Backend Build
secrets: inherit
uses: ./.github/workflows/node-build-reuseable.yaml
with:
type: backend
env: production
# Deploy Apps
frontend-docker-build:
name: Frontend Docker Build
needs: [frontend-build]
secrets: inherit
uses: ./.github/workflows/docker-build-reuseable.yaml
with:
type: frontend
env: production
backend-docker-build:
name: Backend Docker Build
needs: [backend-build]
secrets: inherit
uses: ./.github/workflows/docker-build-reuseable.yaml
with:
type: backend
env: production