-
Notifications
You must be signed in to change notification settings - Fork 2
59 lines (59 loc) · 1.8 KB
/
deploy.yml
File metadata and controls
59 lines (59 loc) · 1.8 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Deploy to cloudtype
on:
push:
branches:
- dev
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: acho/minjung
stage: main
yaml: |
name: elixir-backend
app: java@17
options:
ports: "8080"
env:
- name: DB_URL
secret: DB_URL
- name: DB_USERNAME
secret: DB_USERNAME
- name: DB_PASSWORD
secret: DB_PASSWORD
- name: JWT_SECRET
secret: JWT_SECRET
- name: AWS_ACCESSKEY
secret: AWS_ACCESSKEY
- name: AWS_SECRETKEY
secret: AWS_SECRETKEY
- name: SPRING_PROFILES_ACTIVE
secret: SPRING_PROFILES_ACTIVE
- name: DEFAULT_URL
secret: DEFAULT_URL
- name: REDIS_HOST
secret: REDIS_HOST
- name: REDIS_PORT
secret: REDIS_PORT
- name: OPENAI_SECRETKEY
secret: OPENAI_SECRETKEY
- name: NAVER_ID
secret: NAVER_ID
- name: NAVER_PW
secret: NAVER_PW
buildenv: []
context:
git:
url: git@github.com:${{ github.repository }}.git
ref: ${{ github.ref }}