deploy.yml 531 B

123456789101112131415161718192021222324
  1. steps:
  2. ldoc-generate:
  3. image: alpine
  4. commands:
  5. - apk update
  6. - apk add git ldoc
  7. - ldoc .
  8. - git init ldoc_output
  9. ldoc-push:
  10. depends_on: ldoc-generate
  11. image: appleboy/drone-git-push
  12. settings:
  13. ssh_key:
  14. from_secret: ssh_key
  15. remote: git@codeberg.org:y5nw/advtrains-doc-integration
  16. branch: pages
  17. path: ldoc_output
  18. force: true
  19. commit: true
  20. commit_message: "[CI SKIP] LDoc for commit ${CI_COMMIT_SHA}"
  21. when:
  22. - event: push
  23. branch: master