Files
sensor-web-v2/.drone.yml
Marco Crapts 72b85257d0
All checks were successful
continuous-integration/drone/push Build is passing
force recreate
2024-09-06 18:35:09 +03:00

34 lines
486 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 --force-recreate --build -d sensor-web-v2
trigger:
branch:
- master