22 lines
321 B
YAML
22 lines
321 B
YAML
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
|