From 3da68025a496f2bd61bef6b860a6fe9aab2133f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E4=BD=B3=E9=B8=BF?= <2446434034@qq.com> Date: Mon, 12 Aug 2024 13:55:41 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20.drone.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 16f0dea..0000000 --- a/.drone.yml +++ /dev/null @@ -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 \ No newline at end of file