-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (50 loc) · 1.64 KB
/
deploy.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
name: Deploy to cloudtype
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Connect deploy key
uses: cloudtype-github-actions/connect@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
ghtoken: ${{ secrets.GHP_TOKEN }}
- name: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: jiwonkim08/hooking-be
stage: main
yaml: |
name: hooking-be
app: java@11
options:
ports: 8080
env:
- name: DB_USERNAME
value: ${{ secrets.DB_USERNAME }}
- name: DB_TABLE
value: ${{ secrets.DB_TABLE }}
- name: DB_PASSWORD
value: ${{ secrets.DB_PASSWORD }}
- name: KAKAO_CLIENT_ID
value: ${{ secrets.KAKAO_CLIENT_ID }}
- name: KAKAO_CLIENT_SECRET
value: ${{ secrets.KAKAO_CLIENT_SECRET }}
- name: KAKAO_REDIRECT_URL
value: https://hooking.shop/login/oauth2/code/kakao
- name: SECRET_KEY
value: ${{ secrets.SECRET_KEY }}
- name: request_URL
value: ${{ secrets.REQUEST_URL}}
- name: redirect_URL
value: ${{ secrets.REDIRECT_URL}}
context:
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}