-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (48 loc) · 1.55 KB
/
xquare-cd-dev.yml
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
50
51
52
53
name: DMS - xquare deployment dev
on:
push:
branches:
- main
- develop
jobs:
CD:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: |
build
--build-cache
--no-daemon
- name: Deploy to xquare
uses: team-xquare/xquare-deployment-action@master
with:
environment: stag
access_key: ${{ secrets.ACCESS_KEY }}
github_token: ${{ secrets.PAT }}
buildargs: |
PROFILE=dev
MYSQL_HOST=${{ secrets.MYSQL_HOST }}
MYSQL_USERNAME=${{ secrets.MYSQL_USERNAME }}
MYSQL_PASSWORD=${{ secrets.MYSQL_PASSWORD }}
REDIS_HOST=${{ secrets.REDIS_HOST }}
SENTRY_DSN=${{ secrets.SENTRY_DSN }}
AWS_ACCESS=${{ secrets.AWS_ACCESS }}
AWS_SECRET=${{ secrets.AWS_SECRET }}
NEIS_KEY=${{ secrets.NEIS_KEY }}
SES_SENDER=${{ secrets.SES_SENDER }}
S3_BUCKET_NAME=${{ secrets.S3_BUCKET_NAME }}
FCM_FILE_URL=${{ secrets.FCM_FILE_URL }}
FLYWAY_ENABLED=${{ secrets.FLYWAY_ENABLED }}
BASELINE_ON_MIGRATE=${{ secrets.BASELINE_ON_MIGRATE }}
# SLACK_WEBHOOK_URL=${{ secrets.SLACK_STAG_WEBHOOK_URL }}