feat: drone.ci
This commit is contained in:
parent
1a95f07df8
commit
6cf7cfe412
30
.drone.yml
30
.drone.yml
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: backset.cn ci
|
name: backset.cn admin & web 资源发布
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: node_modules
|
- name: node_modules
|
||||||
|
@ -64,36 +64,10 @@ steps:
|
||||||
target: /www/wwwroot/nginx/html/backset.cn/
|
target: /www/wwwroot/nginx/html/backset.cn/
|
||||||
source: ./apps/admin/dist/*
|
source: ./apps/admin/dist/*
|
||||||
|
|
||||||
# - name: deploy-server
|
|
||||||
# image: appleboy/drone-scp:1.6
|
|
||||||
# settings:
|
|
||||||
# host:
|
|
||||||
# - backset.cn
|
|
||||||
# username: root
|
|
||||||
# password: cr654654.
|
|
||||||
# port: 22
|
|
||||||
# overwrite: true
|
|
||||||
# command_timeout: 2m
|
|
||||||
# target: /www/wwwroot/nginx/html/backset.cn/
|
|
||||||
# source: ./apps/server/dist/*
|
|
||||||
|
|
||||||
# - name: docker build-server
|
|
||||||
# image: appleboy/drone-ssh
|
|
||||||
# settings:
|
|
||||||
# host:
|
|
||||||
# - backset.cn
|
|
||||||
# username: root
|
|
||||||
# password: cr654654.
|
|
||||||
# port: 22
|
|
||||||
# command_timeout: 2m
|
|
||||||
# script:
|
|
||||||
# - cd /www/wwwroot/n
|
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: backset.cn exec
|
name: backset.cn server 镜像发布
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# server
|
# server
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
backset.cn-net:
|
default:
|
||||||
name: backset.cn-net
|
external:
|
||||||
external: true
|
name: backset.cn-net
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user