2023-08-02 00:11:40 +10:00
|
|
|
|
---
|
|
|
|
|
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
|
2023-08-02 00:26:32 +10:00
|
|
|
|
|
|
|
|
|
- name: restart systemd unit
|
|
|
|
|
commands:
|
|
|
|
|
- systemctl restart webgl
|
|
|
|
|
when:
|
|
|
|
|
branch:
|
|
|
|
|
- master
|