fix: ci #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |