kind: pipeline name: buildsite steps: - name: build image: node commands: - npm install - npm run build - name: copy image: appleboy/drone-scp settings: host: 192.168.10.5 username: thomas password: from_secret: ssh_password port: 22 target: /home/thomas/wwwtest source: ./dist - name: cleanup image: appleboy/drone-scp settings: host: 192.168.10.5 username: thomas password: from_secret: ssh_password port: 22 script: - cd /home/thomas/wwwtest