From 26bc9e333f37f37d50ad5d6ae0ce21b467c0f521 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 19 Apr 2021 20:48:12 +0200 Subject: [PATCH] add drone file --- .drone.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..175a10e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +kind: pipeline +type: docker +name: deploy + +steps: +- name: prepare + image: python + commands: + - make install -e BUILDDIR=build + +- name: deploy + image: appleboy/drone-scp + settings: + host: www.ducamps.win + user: gitea + key: + from_secret: gitea_private_key + target: /usr/share/nginx/notebook + source: build + +trigger: + branch: + - master + event: + - push +