-
Notifications
You must be signed in to change notification settings - Fork 1
/
s.yml
45 lines (43 loc) · 1003 Bytes
/
s.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
edition: 1.0.0
name: Waline
access: default
vars:
region: cn-beijing
service:
name: Waline
description: 'A Simple, Safe Comment System inspired by Valine'
services:
framework:
component: nodejs-runtime
actions:
pre-deploy:
- run: npm install --production
path: ./
props:
region: ${vars.region}
service: ${vars.service}
function:
name: ${vars.service.name}
description: ${vars.service.description}
runtime: nodejs14
ossBucket: waline
codeUri: ./
handler: index.handler
memorySize: 256
timeout: 30
triggers:
- name: http-trigger
type: http
config:
authType: anonymous
methods:
- GET
- POST
- PUT
- DELETE
- PATCH
customDomains:
- domainName: auto
protocol: HTTP
routeConfigs:
- path: /*