Browse Source

ci: 更新drone.yml

feat
wally 4 years ago
parent
commit
a57d598b57
  1. 45
      .drone.yml
  2. 3
      CHANGELOG.md
  3. 8
      manifest.json

45
.drone.yml

@ -19,13 +19,11 @@ volumes:
steps:
- name: restore-cache
image: drillster/drone-volume-cache
restore: true
mount:
- ./node_modules
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./node_modules
- /var/local/drone-cache:/cache
- name: build
image: node:latest
@ -34,18 +32,17 @@ steps:
- name: cache
path: /root/.m2
commands:
- npm config set registry http://registry.npm.taobao.org
- npm i
- npm run build:dev
- name: rebuild-cache
image: drillster/drone-volume-cache
rebuild: true
mount:
- ./node_modules
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./node_modules
- /var/local/drone-cache:/cache
- name: deploy-scp
image: appleboy/drone-scp
@ -91,7 +88,7 @@ steps:
password: #邮箱密码
from_secret: orgsecret_password_mail_devops
from: devops@ccsens.com
recipients: weizezhao@ccsens.com #收件人,多个用,隔开
recipients: fengjun@ccsens.com #收件人,多个用,隔开
when: #执行条件
status:
- success
@ -124,25 +121,3 @@ steps:
trigger:
branch: develop
# - name: notify-dingtalk
# image: lddsb/drone-dingtalk-message
# environment:
# PASSWORD:
# from_secret: password_mail_devops
# settings:
# token: your-dingtalk-robot-access-token
# type: markdown
# message_color: true
# message_pic: true
# sha_link: true
# -name: notify-slack
# image: plugins/slack
# webhook: https://hooks.slack.com/ www.dijiuyy.com services/xxx/xxx/xxx
# channel: dev
# template: >
# {{#success build.status}}
# build {{build.number}} succeeded. Good job.
# {{else}}
# build {{build.number}} failed. Fix me please.
# {{/success}}

3
CHANGELOG.md

@ -1,4 +1,4 @@
# 1.0.0 (2022-01-11)
# 1.0.0 (2022-01-12)
### 🌟 新功能
范围|描述|commitId
@ -40,6 +40,7 @@
### 📦 持续集成
范围|描述|commitId
--|--|--
- | 修改.drone.yml | [f5b52e3](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/f5b52e3)
- | 添加drone.yml | [9fbae89](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/9fbae89)

8
manifest.json

@ -1,6 +1,6 @@
{
"name" : "tall-4-project",
"appid" : "__UNI__1EC8558",
"name" : "时物链条",
"appid" : "__UNI__3CBCFFF",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
@ -43,7 +43,9 @@
/* ios */
"ios" : {},
/* SDK */
"sdkConfigs" : {}
"sdkConfigs" : {
"ad" : {}
}
}
},
/* */

Loading…
Cancel
Save