From f14ba5d9548be8f95cbde54bdd0338d13ce9ea63 Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Fri, 22 Nov 2019 23:48:49 +0100 Subject: [PATCH] added drone file --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..62ae545 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +name: meshviewer build + +clone: + depth: 50 + +steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --init + +- name: build on node 12 + image: node:12.12.0-stretch + commands: + - ls -alh + +# - name: backup-old-firmware +# image: appleboy/drone-ssh +# settings: +# host: 46.4.138.183 +# username: fwupload +# key: +# from_secret: ssh-update +# port: 22 +# command_timeout: 120m +# script: +# - ./rsync-backup.sh +# - rm -rf /srv/fwuploads/troisdorf/* +