Die 5222.de Homepage https://www.5222.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
606B

  1. kind: pipeline
  2. type: docker
  3. name: default
  4. steps:
  5. - name: build
  6. image: plugins/hugo
  7. settings:
  8. hugo_version: 0.57.2
  9. validate: true
  10. source: 5222.de/
  11. output: ../public
  12. - name: upload
  13. image: drillster/drone-rsync
  14. settings:
  15. hosts:
  16. from_secret: rsync_server
  17. source: ./public/
  18. target:
  19. from_secret: rsync_target
  20. recursive: true
  21. delete: true
  22. environment:
  23. RSYNC_KEY:
  24. from_secret: rsync_key
  25. RSYNC_USER:
  26. from_secret: rsync_user
  27. when:
  28. status:
  29. - success
  30. branch:
  31. - master
  32. event:
  33. exclude:
  34. - pull_request