删除 .drone.yml

This commit is contained in:
罗佳鸿 2024-08-12 13:55:41 +00:00
parent 8d1ba120dd
commit 3da68025a4

View File

@ -1,32 +0,0 @@
kind: pipeline
type: docker
name: vuepress-build
steps:
- name: install-and-build
image: node:20.16.0
commands:
- chmod +x ./run.sh # 确保脚本是可执行的
- ./run.sh # 执行构建脚本
- name: deploy
image: plugins/rsync
settings:
remote: 8.219.93.84
username: 15185626476
password: LJH@123456
source: ./docs/.vuepress/dist
target: /path/to/remote/deploy/directory
when:
branch: main # 仅在 main 分支上部署
volumes:
- name: npm-cache
host:
path: /home/data/npm/cache # 缓存 npm 依赖
services:
- name: docker
image: docker:26.1.3
commands:
- docker info