29 lines
628 B
Plaintext
29 lines
628 B
Plaintext
|
---
|
|||
|
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
|