From 1cbf53363b4131879ddc495b73953917380a11fb Mon Sep 17 00:00:00 2001 From: AzideCupric Date: Sun, 11 Feb 2024 23:37:13 +0800 Subject: [PATCH] =?UTF-8?q?:wrench:=20=E6=9E=84=E5=BB=BA=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E9=95=9C=E5=83=8F=20(#475)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :wrench: 添加theme相关配置 * :construction_worker: 取消对docker.env.prod的忽略 --- .github/workflows/main.yml | 2 ++ docker.env.prod | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9da706c..3720056 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,7 @@ on: - tests/** - pyproject.toml - poetry.lock + - docker.env.prod - .github/** pull_request: paths: @@ -21,6 +22,7 @@ on: - tests/** - pyproject.toml - poetry.lock + - docker.env.prod - .github/** types: - opened diff --git a/docker.env.prod b/docker.env.prod index e3f71d9..981be93 100644 --- a/docker.env.prod +++ b/docker.env.prod @@ -11,6 +11,8 @@ TZ=Asia/Shanghai # nonebot-bison BISON_CONFIG_PATH= BISON_USE_PIC=false +## 与默认配置不同,在容器中启用浏览器渲染 +BISON_THEME_USE_BROWSER=true BISON_INIT_FILTER=true BISON_USE_QUEUE=true BISON_OUTER_URL= @@ -22,6 +24,7 @@ BISON_RESEND_TIMES=0 BISON_PROXY= BISON_UA=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 BISON_SHOW_NETWORK_WARNING=true +BISON_PLATFORM_THEME='{}' # nonebot-plugin-sentry SENTRY_DSN=