测试电报推送使用html模板
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
李寻欢 2020-01-07 10:58:54 +08:00
parent 2b0d6565c5
commit e111066fda
2 changed files with 4 additions and 3 deletions

View File

@ -35,9 +35,10 @@ steps:
settings:
token: 883905265:AAFv3NAH4ykdh2m_XiQUuyKNJ9XE5RV7ukU
to: 365042238
format: html
message: >
{{#success build.status}}
编号:{{build.number}} 构建成功。
<h2>第 {{build.number}} 次构建已完成,状态:<span style="color: green;">构建成功</span></h2>
{{else}}
编号:{{build.number}} 构建失败。
<h2>第 {{build.number}} 次构建已完成,状态:<span style="color: red;">构建失败</span></h2>
{{/success}}

View File

@ -1,7 +1,7 @@
FROM alpine
MAINTAINER LiXunHuan(lxh@cxh.cn)
# 修改alpine源为阿里云
# 创建工作目录修改alpine源为中科大的源安装必要工具
RUN mkdir -p /app && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
apk update && \
apk upgrade && \