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