Files
sensor-web-v2/.drone.yml
Marco Crapts b2708b6553
All checks were successful
continuous-integration/drone/push Build is passing
update host in .drone.yml
2024-05-20 18:25:40 +02:00

34 lines
469 B
YAML

kind: pipeline
type: ssh
name: default
server:
host: server.home
user: marco
ssh_key:
from_secret: ssh_key
steps:
- name: pull
commands:
- cd /home/marco/containers/data/sensor-web-v2
- git fetch
- git reset --hard origin/master
- name: build
commands:
- make build
- name: test
commands:
- make test
- name: deploy
commands:
- cd /home/marco/containers
- docker compose up --build -d sensor-web-v2
trigger:
branch:
- master