This commit is contained in:
21
.drone.yml
21
.drone.yml
@ -13,9 +13,16 @@ steps: # 定义管道的执行步骤
|
|||||||
# - npm config set registry https://registry.npm.taobao.org
|
# - npm config set registry https://registry.npm.taobao.org
|
||||||
# - npm i
|
# - npm i
|
||||||
|
|
||||||
|
- name: build-tags
|
||||||
|
image: yxs970707/drone-web-tags
|
||||||
|
depends_on: [clone]
|
||||||
|
settings:
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
|
||||||
- name: build-image
|
- name: build-image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
# depends_on: [build-project]
|
depends_on: [build-tags]
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
@ -25,6 +32,18 @@ steps: # 定义管道的执行步骤
|
|||||||
registry: https://git.hiiragi.club:8081
|
registry: https://git.hiiragi.club:8081
|
||||||
repo: git.hiiragi.club:8081/mol/mirai-robot
|
repo: git.hiiragi.club:8081/mol/mirai-robot
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline # 定义一个管道
|
||||||
|
type: docker # 当前管道的类型
|
||||||
|
name: deploy # 当前管道的名称
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- build
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: deploy-project
|
- name: deploy-project
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
depends_on: [build-image]
|
depends_on: [build-image]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirai-middle-server",
|
"name": "mirai-middle-server",
|
||||||
"version": "1.1.5",
|
"version": "1.1.6",
|
||||||
"description": "使用miraijs开发,用于连接kuginn等外部服务与mirai通信的中转服务器",
|
"description": "使用miraijs开发,用于连接kuginn等外部服务与mirai通信的中转服务器",
|
||||||
"author": "mol",
|
"author": "mol",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
|
Reference in New Issue
Block a user