refactor
This commit is contained in:
21
.drone.yml
Normal file
21
.drone.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: default
|
||||
|
||||
server:
|
||||
host: nuc.home
|
||||
user: marco
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
commands:
|
||||
- cd /home/marco/containers/data/sensor-web-v2
|
||||
- git pull
|
||||
- cd /home/marco/containers
|
||||
- docker-compose up --build -d sensor-web-v2
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
Reference in New Issue
Block a user