-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.12 KB
/
deploy-react-dev.yml
File metadata and controls
33 lines (31 loc) · 1.12 KB
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
name: Deploy React (Dev)
on:
push:
branches:
- dev
paths:
- 'apps/react/**'
- 'packages/**'
- '.github/workflows/deploy-react-dev.yml'
- '.github/workflows/react-deploy-reusable.yml'
workflow_dispatch:
jobs:
deploy:
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/dev') ||
(github.event_name == 'workflow_dispatch')
uses: ./.github/workflows/react-deploy-reusable.yml
with:
environment: dev
discord_embed_title: '🧪 테스트(Dev) 배포 완료'
discord_embed_color: '5763719'
secrets:
vite_api_url: ${{ secrets.TEST_VITE_API_URL }}
s3_bucket_name: ${{ secrets.TEST_S3_BUCKET_NAME }}
cloudfront_distribution_id: ${{ secrets.TEST_CLOUDFRONT_DISTRIBUTION_ID }}
aws_access_key_id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
vite_amplitude_api_key: ${{ secrets.VITE_AMPLITUDE_API_KEY }}
vite_sentry_dsn: ${{ secrets.VITE_SENTRY_DSN }}
discord_webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}