Создал(а) '.dron'

This commit is contained in:
hogweed1 2022-10-16 23:50:44 -04:00
parent cb6aa34ea4
commit 9eeb43f7c1

29
.dron Normal file
View File

@ -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