.drone.yml 496 B

12345678910111213141516171819202122232425262728
  1. ---
  2. ##################
  3. # Build & Publish#
  4. ##################
  5. kind: pipeline
  6. name: build and publish
  7. steps:
  8. - name: build
  9. image: klakegg/hugo:alpine
  10. commands:
  11. - hugo
  12. - name: publish
  13. image: drillster/drone-rsync
  14. settings:
  15. user: root
  16. key:
  17. from_secret: key
  18. hosts:
  19. - box.unbl.ink
  20. source: ./public
  21. target: /home/user-data/www/unbl.ink/
  22. secrets: [ key ]
  23. volumes:
  24. - name: docker
  25. host:
  26. path: /var/run/docker.sock