From 5be60a468183e2264229938f2bd6d8fe8f9c9ba1 Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Sat, 19 Sep 2020 18:04:41 +1000 Subject: [PATCH] added a .drone.yml that probably won't work --- .drone.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ad9be75 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,35 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: restore-target + image: drillster/drone-volume-cache + volumes: + - name: target + path: /target + settings: + restore: true + mount: + - ./target + +- name: build + image: mcr.microsoft.com/dotnet/core/sdk:3.1 + commands: + - dotnet build + +- name: rebuild-target + image: drillster/drone-volume-cache + volumes: + - name: target + path: /target + settings: + rebuild: true + mount: + - ./target + +volumes: +- name: target + host: + path: /tmp/snootalogue-target