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 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ---
  2. kind: pipeline
  3. name: default
  4. steps:
  5. - name: build
  6. image: node
  7. commands:
  8. - npm install -g gulp -s
  9. - npm install -s
  10. - gulp
  11. when:
  12. event: push
  13. - name: update
  14. image: appleboy/drone-git-push
  15. settings:
  16. branch: master
  17. remote: gitea@gitea.rknet.org:xoxys/theme-geeklab.git
  18. commit: true
  19. commit_message: "[SKIP CI] Update artifacts"
  20. force: false
  21. author_name: DroneShipper
  22. author_email: shipper@rknet.org
  23. environment:
  24. GIT_PUSH_SSH_KEY:
  25. from_secret: git_push_ssh_key
  26. when:
  27. event: push
  28. - name: notify
  29. image: plugins/matrix
  30. settings:
  31. homeserver: https://matrix.rknet.org
  32. roomid: MtidqQXWWAtQcByBhH:rknet.org
  33. template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
  34. username:
  35. from_secret: matrix_username
  36. password:
  37. from_secret: matrix_password
  38. when:
  39. status:
  40. - success
  41. - failure