From e5ca7676be45ab664695548c825697c37bd2955d Mon Sep 17 00:00:00 2001 From: fanxb Date: Sat, 11 Mar 2023 21:52:07 +0800 Subject: [PATCH] =?UTF-8?q?deploy:=E6=96=B0=E5=A2=9Ebuild=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone diff --git a/.drone b/.drone new file mode 100644 index 0000000..59da07f --- /dev/null +++ b/.drone @@ -0,0 +1,24 @@ +kind: pipeline +type: docker +name: bookmarkPublish + +trigger: + branch: + - master + +clone: + disable: true + +steps: + - name: deploy + image: appleboy/drone-ssh + settings: + host: + from_secret: devHost + port: 22 + user: root + key: + from_secret: privateSsh + timeout: 3m + script: + - cd /root/qieziStatistics && git pull && bash build.sh && syncFile.sh