This commit is contained in:
RakVhalate 2022-10-17 20:06:09 +10:00
parent 0924db0386
commit 142090c588
2 changed files with 32 additions and 0 deletions

29
.drone.yml 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/$DRONE_REPO_NAME
- git pull
- name: build
commands:
- cd /usr/share/$DRONE_REPO_NAME
- dotnet build
- name: mv
commands:
- mkdir -p /usr/share/$DRONE_REPO_NAME/dist
- mv /usr/share/$DRONE_REPO_NAME/bin/Debug/net6.0/* /usr/share/$DRONE_REPO_NAME/dist
- name: cleanup
commands:
- rm -rf /usr/share/$DRONE_REPO_NAME/bin /usr/share/$DRONE_REPO_NAME/obj

3
README.md Normal file
View File

@ -0,0 +1,3 @@
[![Build Status](http://drone.vdk2ch.ru:38080/api/badges/RakVhalate/2chBackAPI/status.svg)](http://drone.vdk2ch.ru:38080/RakVhalate/2chBackAPI)
fdasdfs