forked from higress-group/higress-group.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths.yaml
More file actions
25 lines (25 loc) · 739 Bytes
/
s.yaml
File metadata and controls
25 lines (25 loc) · 739 Bytes
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
edition: 1.0.0
name: deploy-oss
access: higress
vars:
region: cn-hongkong
oss:
bucketName: 'higress-website-cn-hongkong'
services:
portal-www: # 静态资源
component: oss
actions:
post-deploy:
- plugin: cdn-cache-plugin
args:
operateType: refresh
objectPath: https://higress.cn/
props:
region: ${vars.region}
bucket: ${vars.oss.bucketName} # OSS bucket 自动生成
acl: public-read # 读写权限
codeUri: ./deploy-dist # 指定本地要上传目录文件地址
website: # OSS 静态网站配置
index: index.html # 默认首页
error: 404.html # 默认 404 页
subDirType: redirect # 子目录首页 404 规则