kind: pipeline type: docker name: default steps: - name: test image: node:current commands: - npm install - npm run build - apt-get update - apt-get install -y rsync - rsync -uav _site/ mattrbld-site - cd mattrbld-site - git config --global --add safe.directory /drone/src/mattrbld-site - git status - git commit -am "update site at $(date '+%Y-%m-%d %H:%M:%S')" - git push