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