Skip to content

Commit ff9d8dc

Browse files
AzideCupricfelinae98
authored andcommitted
🔧 构建测试镜像 (#475)
* 🔧 添加theme相关配置 * 👷 取消对docker.env.prod的忽略
1 parent 8767d83 commit ff9d8dc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- tests/**
1313
- pyproject.toml
1414
- poetry.lock
15+
- docker.env.prod
1516
- .github/**
1617
pull_request:
1718
paths:
@@ -21,6 +22,7 @@ on:
2122
- tests/**
2223
- pyproject.toml
2324
- poetry.lock
25+
- docker.env.prod
2426
- .github/**
2527
types:
2628
- opened

docker.env.prod

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ TZ=Asia/Shanghai
1111
# nonebot-bison
1212
BISON_CONFIG_PATH=
1313
BISON_USE_PIC=false
14+
## 与默认配置不同,在容器中启用浏览器渲染
15+
BISON_THEME_USE_BROWSER=true
1416
BISON_INIT_FILTER=true
1517
BISON_USE_QUEUE=true
1618
BISON_OUTER_URL=
@@ -22,6 +24,7 @@ BISON_RESEND_TIMES=0
2224
BISON_PROXY=
2325
BISON_UA=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
2426
BISON_SHOW_NETWORK_WARNING=true
27+
BISON_PLATFORM_THEME='{}'
2528

2629
# nonebot-plugin-sentry
2730
SENTRY_DSN=

0 commit comments

Comments
 (0)