This commit is contained in:
parent
7063315a4b
commit
72649d0009
23
.drone.yml
Normal file
23
.drone.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
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 origin master
|
||||||
|
- name: docker-compose-rebuild
|
||||||
|
commands:
|
||||||
|
- cd /usr/share/$DRONE_REPO_NAME
|
||||||
|
- docker compose up -d --build
|
Loading…
Reference in New Issue
Block a user