删除 .drone.yml
This commit is contained in:
28
.drone.yml
28
.drone.yml
@@ -1,28 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: ci
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: install & build
|
|
||||||
image: node
|
|
||||||
commands:
|
|
||||||
- npm config set registry https://registry.npmmirror.com/
|
|
||||||
- npm i -g pnpm
|
|
||||||
- pnpm i
|
|
||||||
- pnpm build
|
|
||||||
- tar -zcvf dist.tar ./dist ./default.conf ./Dockerfile
|
|
||||||
|
|
||||||
- name: upload
|
|
||||||
image: appleboy/drone-scp
|
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
from_secret: host
|
|
||||||
username:
|
|
||||||
from_secret: username
|
|
||||||
password:
|
|
||||||
from_secret: password
|
|
||||||
port: 22
|
|
||||||
command_timeout: 2m
|
|
||||||
target: /www/builder
|
|
||||||
source:
|
|
||||||
- ./dist.tar
|
|
||||||
Reference in New Issue
Block a user