kind: pipeline type: docker name: default steps: # - name: init # image: node:16-alpine # commands: # - "npm install" # - name: start # image: node:16-alpine # commands: # # - "npm run build" # - "npm test -- --watchAll=false" - name: deploy image: drillster/drone-rsync settings: hosts: ["carrasco.dev"] target: ~/test-app user: from_secret: ssh_user key: from_secret: ssh_key script: - cd test-app - docker-compose restart - name: notify image: curlimages/curl:7.80.0 environment: GCHAT_WH: from_secret: GCHAT_WH commands: - > curl $GCHAT_WH -X 'POST' -H 'Content-type:application/json' -d '{"text":"This message is from Drone"}'