All of the webhooks the website uses for updates
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

83 строки
2.4 KiB

  1. [
  2. {
  3. "id": "sexy-push",
  4. "execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy.sh",
  5. "command-working-directory": "/home/web/crux.sexy/",
  6. "response-message": "Updating...",
  7. "trigger-rule": {
  8. "match": {
  9. "type": "value",
  10. "value": "{{ getenv "WEBHOOK_SECRET" | js }}",
  11. "parameter": {
  12. "source": "payload",
  13. "name": "secret"
  14. }
  15. }
  16. }
  17. },
  18. {
  19. "id": "webhook-push",
  20. "execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy.sh",
  21. "command-working-directory": "/home/web/webhooks/",
  22. "response-message": "Updating...",
  23. "trigger-rule": {
  24. "match": {
  25. "type": "value",
  26. "value": "{{ getenv "WEBHOOK_SECRET" | js }}",
  27. "parameter": {
  28. "source": "payload",
  29. "name": "secret"
  30. }
  31. }
  32. }
  33. },
  34. {
  35. "id": "game-push",
  36. "execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy-branch.sh",
  37. "command-working-directory": "/home/web/crux.sexy/",
  38. "pass-arguments-to-command": [
  39. {
  40. "source": "payload",
  41. "name": "repository.name"
  42. },
  43. {
  44. "source": "payload",
  45. "name": "ref"
  46. }
  47. ],
  48. "response-message": "Updating...",
  49. "trigger-rule": {
  50. "match": {
  51. "type": "value",
  52. "value": "{{ getenv "WEBHOOK_SECRET" | js }}",
  53. "parameter": {
  54. "source": "payload",
  55. "name": "secret"
  56. }
  57. }
  58. }
  59. },
  60. {
  61. "id": "game-release",
  62. "execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy-release.sh",
  63. "command-working-directory": "/home/web/crux.sexy/",
  64. "pass-arguments-to-command": [
  65. {
  66. "source": "payload",
  67. "name": "repository.name"
  68. }
  69. ],
  70. "response-message": "Releasing...",
  71. "trigger-rule": {
  72. "match": {
  73. "type": "value",
  74. "value": "{{ getenv "WEBHOOK_SECRET" | js }}",
  75. "parameter": {
  76. "source": "payload",
  77. "name": "secret"
  78. }
  79. }
  80. }
  81. },
  82. ]