kind: pipeline type: docker name: "Server CI" steps: - name: Unit tests image: override6/tbasket-test:latest volumes: - name: build path: ./build commands: - ./mill tests.test - name: Deploy image: override6/tbasket-backend:latest depends_on: - 'Unit tests' environment: SSH_PRIVATE_KEY: from_secret: SSH_PRIVATE PASSWD: from_secret: PASSWD volumes: - name: build path: ./build commands: - ./mill Core.compile - chmod 777 drone/deliver.sh - drone/deliver.sh