Hackerspace Website https://www.hacknology.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.

.drone.yml 667B

123456789101112131415161718192021222324252627282930313233343536
  1. kind: pipeline
  2. name: default
  3. steps:
  4. - name: submodules
  5. image: alpine/git
  6. commands:
  7. - git submodule update --init --recursive
  8. - name: build
  9. image: xperimental/hugo:0.58.3
  10. commands:
  11. - hugo
  12. - name: publish
  13. image: alpine
  14. volumes:
  15. - name: output
  16. path: /output
  17. commands:
  18. - apk add rsync
  19. - rsync -av --del ./public/ /output/
  20. - chown -R 33:33 /output
  21. when:
  22. branch:
  23. - master
  24. - name: verify
  25. image: xperimental/linky:0.3.0
  26. commands:
  27. - linky https://www.hacknology.de
  28. when:
  29. branch:
  30. - master
  31. volumes:
  32. - name: output
  33. host:
  34. path: /var/www/html