From 9eeb43f7c1d68266b10b1f02dfc6faa7896f5d44 Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Sun, 16 Oct 2022 23:50:44 -0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB(=D0=B0)=20?= =?UTF-8?q?'.dron'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dron | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .dron diff --git a/.dron b/.dron new file mode 100644 index 0000000..e63beaa --- /dev/null +++ b/.dron @@ -0,0 +1,29 @@ +--- +kind: pipeline +type: exec +name: default + +platform: + os: linux + arch: amd64 + +clone: + # убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию + disable: true + +steps: +- name: pull into the folduh + commands: + - cd /usr/share/2chBack + - git pull +- name: build + commands: + - cd /usr/share/2chBack + - dotnet build +- name: mv + commands: + - mkdir -p /usr/share/2chBack/dist + - mv /usr/share/2chBack/bin/Debug/net6.0/* /usr/share/2chBack/dist +- name: cleanup + commands: + - rm -rf /usr/share/2chBack/bin /usr/share/2chBack/obj \ No newline at end of file