feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 10:29:53 +08:00
parent 3f496b5295
commit 1a95f07df8

View File

@ -64,15 +64,6 @@ steps:
target: /www/wwwroot/nginx/html/backset.cn/ target: /www/wwwroot/nginx/html/backset.cn/
source: ./apps/admin/dist/* source: ./apps/admin/dist/*
# server
- name: docker-compose build
# image: node:16.19-alpine
# volumes:
# - name: node_modules
# path: /drone/src/node_modules
commands:
- docker-compose build
# - name: deploy-server # - name: deploy-server
# image: appleboy/drone-scp:1.6 # image: appleboy/drone-scp:1.6
# settings: # settings:
@ -97,3 +88,15 @@ steps:
# command_timeout: 2m # command_timeout: 2m
# script: # script:
# - cd /www/wwwroot/n # - cd /www/wwwroot/n
---
kind: pipeline
type: exec
name: backset.cn exec
steps:
# server
- name: docker-compose build
commands:
- docker-compose build