.drone.yml 569 B

12345678910111213141516171819202122232425262728293031
  1. kind: pipeline
  2. name: website
  3. steps:
  4. - name: generate
  5. image: jekyll/minimal
  6. commands:
  7. - chown -R jekyll:jekyll .
  8. - jekyll build
  9. - name: deploy
  10. image: herbysk/drone-plugin-mvdir
  11. settings:
  12. source: _site
  13. target: /var/docs.amber-lang.net/static
  14. when:
  15. branch:
  16. - gh-pages
  17. repo:
  18. - amber/amber-documentation
  19. volumes:
  20. - name: hosting
  21. path: /var/docs.amber-lang.net
  22. node:
  23. amber_web: "true"
  24. volumes:
  25. - name: hosting
  26. host:
  27. path: /mnt/storage/VOLUMES/docs.amber-lang.net