.drone.yml 759 B

123456789101112131415161718192021222324252627
  1. clone:
  2. git:
  3. image: plugins/git
  4. tags: true
  5. pipeline:
  6. docker_tag:
  7. image: docker.finogeeks.club/drone/docker
  8. repo: docker.finogeeks.club/finochat/contact
  9. default_tags: true
  10. when:
  11. event: [tag]
  12. docker_latest:
  13. image: docker.finogeeks.club/drone/docker
  14. repo: docker.finogeeks.club/finochat/contact
  15. when:
  16. branch: ${DRONE_COMMIT_BRANCH}
  17. event: [push, pull_request]
  18. gen_api_doc:
  19. image: plugins/downstream
  20. server: https://drone.finogeeks.club
  21. token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoiaHVhbmd4dSIsInR5cGUiOiJ1c2VyIn0.s7pcCY0Jq5rZF9LjeV-InEUndH9NYzjm6n5x7H3J6mo
  22. fork: true
  23. repositories:
  24. - finochat/doc
  25. when:
  26. status: [success]
  27. event: [pull_request, tag]