-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths.yaml
40 lines (40 loc) · 939 Bytes
/
s.yaml
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
edition: 1.0.0
name: serverless-devs-website
access: default
vars:
apiSourceCode: api
domain: serverlessdevs.resume.net.cn
portalReleaseCode: portal # 最终构建的代码包
services:
# api:
# component: devsapp/jamstack-api
# actions:
# pre-deploy:
# - run: npm install
# path: ./functions
# props:
# region: cn-hangzhou
# app:
# name: serverless-devs-portal
# sourceCode: functions
# route:
# - /
website:
component: jamstack
props:
domain: ${vars.domain}
favicon: false
defaultApp: portal
apps:
- name: portal
type: jamstack
releaseCode: ${vars.portalReleaseCode}
paths:
- /
indexFile: index.html
page404Url: 404.html
# - name: apis
# type: backend
# paths:
# - /~apis
# proxyUrl: <proxyedApi>