{"id":15624,"date":"2024-05-28T01:33:42","date_gmt":"2024-05-27T22:03:42","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=15624"},"modified":"2024-05-28T01:33:42","modified_gmt":"2024-05-27T22:03:42","slug":"how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/de\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/","title":{"rendered":"Wie man Node.js und GitHub-Webhooks zum Synchronisieren von Remote-Projekten verwendet"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">\u0645\u0642\u062f\u0645\u0647<\/h2>\n<p>\u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0631 \u0631\u0648\u06cc \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u0628\u0627 \u0686\u0646\u062f\u06cc\u0646 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u0647\u060c \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u06cc\u06a9 \u0646\u0641\u0631 \u0628\u0647 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0641\u0634\u0627\u0631 \u0645\u06cc \u0622\u0648\u0631\u062f \u0648 \u0633\u067e\u0633 \u062f\u06cc\u06af\u0631\u06cc \u0634\u0631\u0648\u0639 \u0628\u0647 \u0627\u06cc\u062c\u0627\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u062f\u0631 \u0646\u0633\u062e\u0647 \u0642\u062f\u06cc\u0645\u06cc \u06a9\u062f \u0645\u06cc \u06a9\u0646\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062e\u0633\u062a\u0647 \u06a9\u0646\u0646\u062f\u0647 \u0628\u0627\u0634\u062f. \u0627\u0634\u062a\u0628\u0627\u0647\u0627\u062a\u06cc \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646 \u0632\u0645\u0627\u0646 \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u06a9\u0647 \u062a\u0646\u0638\u06cc\u0645 \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645 \u0646\u06af\u0647 \u062f\u0627\u0634\u062a\u0646 \u0645\u062e\u0627\u0632\u0646 \u0634\u0645\u0627 \u0627\u0631\u0632\u0634\u0645\u0646\u062f \u0628\u0627\u0634\u062f. \u0634\u0645\u0627 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0645\u062d\u06cc\u0637 \u062a\u0648\u0644\u06cc\u062f \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0631\u0641\u0639 \u0641\u0648\u0631\u06cc \u0648 \u0633\u0627\u06cc\u0631 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0633\u0631\u06cc\u0639 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0631\u0627\u0647 \u062d\u0644 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u06cc \u0628\u0631\u0627\u06cc \u062a\u06a9\u0645\u06cc\u0644 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062e\u0627\u0635 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0646\u0648\u0634\u062a\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062e\u0648\u062f \u06cc\u06a9 \u06af\u0632\u06cc\u0646\u0647 \u0627\u0646\u0639\u0637\u0627\u0641 \u067e\u0630\u06cc\u0631 \u0627\u0633\u062a \u06a9\u0647 \u0641\u0636\u0627\u06cc\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0633\u0641\u0627\u0631\u0634\u06cc \u0633\u0627\u0632\u06cc \u062f\u0631 \u0622\u06cc\u0646\u062f\u0647 \u0628\u0627\u0642\u06cc \u0645\u06cc \u06af\u0630\u0627\u0631\u062f.<\/p>\n<p>GitHub \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0648\u0628 \u0647\u0648\u06a9 \u0647\u0627 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0645\u062e\u0627\u0632\u0646 \u062e\u0648\u062f \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f\u060c \u06a9\u0647 \u0631\u0648\u06cc\u062f\u0627\u062f\u0647\u0627\u06cc\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc HTTP \u0631\u0627 \u0647\u0646\u06af\u0627\u0645 \u0648\u0642\u0648\u0639 \u0631\u0648\u06cc\u062f\u0627\u062f\u0647\u0627 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06cc\u06a9 \u0648\u0628 \u0647\u0648\u06a9 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0634\u062e\u0635\u06cc \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u0634\u0634 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u062f \u06cc\u0627 \u06a9\u062f \u062c\u062f\u06cc\u062f\u06cc \u0631\u0627 \u0641\u0634\u0627\u0631 \u0645\u06cc \u062f\u0647\u062f\u060c \u0628\u0647 \u0634\u0645\u0627 \u0627\u0637\u0644\u0627\u0639 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u0634\u0645\u0627 \u06cc\u06a9 \u0633\u0631\u0648\u0631 Node.js \u0627\u06cc\u062c\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u06a9\u0647 \u0647\u0631 \u0632\u0645\u0627\u0646 \u06a9\u0647 \u0634\u0645\u0627 \u06cc\u0627 \u0634\u062e\u0635 \u062f\u06cc\u06af\u0631\u06cc \u06a9\u062f \u0631\u0627 \u0628\u0647 GitHub \u0641\u0634\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u062f\u060c \u0628\u0647 \u0627\u0639\u0644\u0627\u0646 \u0648\u0628 \u0647\u0648\u06a9 GitHub \u06af\u0648\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0627\u06cc\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u062c\u062f\u06cc\u062f\u062a\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u06a9\u062f \u0628\u0647 \u0631\u0648\u0632 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0639\u0647\u062f\u0627\u062a \u062c\u062f\u06cc\u062f \u0631\u0627 \u0627\u0632 \u0628\u06cc\u0646 \u0645\u06cc \u0628\u0631\u062f.<\/p>\n<h5 id=\"%d9%be%db%8c%d8%b4-%d9%86%db%8c%d8%a7%d8%b2%d9%87%d8%a7\">\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627<\/h5>\n<ul>\n<li>\u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0634\u062f\u0647 \u0627\u0632 \u062c\u0645\u0644\u0647 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u063a\u06cc\u0631 \u0631\u06cc\u0634\u0647 \u0628\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a sudo \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644.<\/li>\n<li>Git \u0631\u0648\u06cc \u062f\u0633\u062a\u06af\u0627\u0647 \u0645\u062d\u0644\u06cc \u0634\u0645\u0627 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f.<\/li>\n<li>Node.js \u0648 npm \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 PPA \u0631\u0633\u0645\u06cc \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f.<\/li>\n<li>\u06cc\u06a9 \u0645\u062e\u0632\u0646 \u062f\u0631 Github \u06a9\u0647 \u062d\u0627\u0648\u06cc \u06a9\u062f \u067e\u0631\u0648\u0698\u0647 \u0634\u0645\u0627 \u0627\u0633\u062a.<\/li>\n<\/ul>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-1-%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-webhook\">\u0645\u0631\u062d\u0644\u0647 1 &#8211; \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Webhook<\/h2>\n<p>\u0645\u0627 \u0628\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06cc\u06a9 \u0647\u0648\u06a9 \u0628\u0631\u0627\u06cc \u0645\u062e\u0632\u0646 \u0634\u0645\u0627 \u0634\u0631\u0648\u0639 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0645\u0647\u0645 \u0627\u0633\u062a \u0632\u06cc\u0631\u0627 \u0628\u062f\u0648\u0646 \u0622\u0646\u060c Github \u0646\u0645\u06cc\u200c\u062f\u0627\u0646\u062f \u0686\u0647 \u0631\u0648\u06cc\u062f\u0627\u062f\u0647\u0627\u06cc\u06cc \u0631\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0648\u0642\u0648\u0639 \u0627\u062a\u0641\u0627\u0642\u0627\u062a \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u062f\u060c \u06cc\u0627 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u06a9\u062c\u0627 \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u062f. \u0627\u0628\u062a\u062f\u0627 webhook \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0633\u067e\u0633 \u0633\u0631\u0648\u0631\u06cc \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc \u0622\u0646 \u067e\u0627\u0633\u062e \u062f\u0647\u062f.<\/p>\n<p>\u0628\u0647 \u062d\u0633\u0627\u0628 GitHub \u062e\u0648\u062f \u0648\u0627\u0631\u062f \u0634\u0648\u06cc\u062f \u0648 \u0628\u0647 \u0645\u062e\u0632\u0646\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0646\u0638\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f \u0628\u0631\u0648\u06cc\u062f. \u0631\u0648\u06cc \u0628\u0631\u06af\u0647 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062f\u0631 \u0646\u0648\u0627\u0631 \u0645\u0646\u0648\u06cc \u0628\u0627\u0644\u0627\u06cc \u0635\u0641\u062d\u0647 \u0645\u062e\u0632\u0646 \u062e\u0648\u062f \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f\u060c \u0633\u067e\u0633 \u0631\u0648\u06cc Webhooks \u062f\u0631 \u0645\u0646\u0648\u06cc \u0646\u0627\u0648\u0628\u0631\u06cc \u0633\u0645\u062a \u0686\u067e \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f. \u0631\u0648\u06cc Add Webhook \u062f\u0631 \u06af\u0648\u0634\u0647 \u0633\u0645\u062a \u0631\u0627\u0633\u062a \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0635\u0648\u0631\u062a \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062d\u0633\u0627\u0628 \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. \u0635\u0641\u062d\u0647 \u0627\u06cc \u0631\u0627 \u0645\u06cc \u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u0634\u0628\u06cc\u0647 \u0627\u06cc\u0646 \u0627\u0633\u062a:<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"1009\"  height=\"748\"  class=\"aligncenter wp-image-15622 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 1009px) 100vw, 1009px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF.png 1009w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-300x222.png 300w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-768x569.png 768w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-110x82.png 110w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-200x148.png 200w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-380x282.png 380w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-255x189.png 255w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-550x408.png 550w, https:\/\/cdn.itpiran.net\/2024\/05\/27210521\/ZLBHSjF-800x593.png 800w\" ><\/p>\n<ul>\n<li>\u062f\u0631 \u0642\u0633\u0645\u062a URL Payload\u060c http:\/\/your_server_ip:8080 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0622\u062f\u0631\u0633 \u0648 \u067e\u0648\u0631\u062a \u0633\u0631\u0648\u0631 Node.js \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0632\u0648\u062f\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u0646\u0648\u0634\u062a.<\/li>\n<li>\u0646\u0648\u0639 \u0645\u062d\u062a\u0648\u0627 \u0631\u0627 \u0628\u0647 application\/json \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f. \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u06cc \u06a9\u0647 \u0645\u0627 \u0645\u06cc \u0646\u0648\u06cc\u0633\u06cc\u0645 \u0627\u0646\u062a\u0638\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON \u0631\u0627 \u062f\u0627\u0631\u062f \u0648 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0627\u0646\u0648\u0627\u0639 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0631\u0627 \u062f\u0631\u06a9 \u06a9\u0646\u062f.<\/li>\n<li>\u0628\u0631\u0627\u06cc Secret\u060c \u06cc\u06a9 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0645\u062e\u0641\u06cc \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0648\u0628 \u0647\u0648\u06a9 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. \u0634\u0645\u0627 \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0627\u0632 \u062f\u0631 \u0633\u0631\u0648\u0631 Node.js \u062e\u0648\u062f \u0628\u0631\u0627\u06cc \u062a\u0623\u06cc\u06cc\u062f \u0627\u0639\u062a\u0628\u0627\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627 \u0648 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u0627\u0631\u0633\u0627\u0644 \u0622\u0646\u200c\u0647\u0627 \u0627\u0632 GitHub \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f.<\/li>\n<li>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u06a9\u062f\u0627\u0645 \u0631\u0648\u06cc\u062f\u0627\u062f\u0647\u0627 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u06cc\u0646 \u0648\u0628 \u0647\u0648\u06a9 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u0646\u062f\u060c \u0641\u0642\u0637 \u0631\u0648\u06cc\u062f\u0627\u062f \u0641\u0634\u0627\u0631 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f. \u0645\u0627 \u0641\u0642\u0637 \u0628\u0647 \u0631\u0648\u06cc\u062f\u0627\u062f push \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645 \u0632\u06cc\u0631\u0627 \u062f\u0631 \u0622\u0646 \u0632\u0645\u0627\u0646 \u06a9\u062f \u0628\u0647 \u0631\u0648\u0632 \u0645\u06cc \u0634\u0648\u062f \u0648 \u0628\u0627\u06cc\u062f \u0628\u0627 \u0633\u0631\u0648\u0631 \u0645\u0627 \u0647\u0645\u06af\u0627\u0645 \u0634\u0648\u062f.<\/li>\n<li>\u0686\u06a9 \u0628\u0627\u06a9\u0633 Active \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0641\u06cc\u0644\u062f\u0647\u0627 \u0631\u0627 \u0645\u0631\u0648\u0631 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0622\u0646 \u0631\u0648\u06cc Add webhook \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f.<\/li>\n<\/ul>\n<p>\u067e\u06cc\u0646\u06af \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0646\u0627\u0645\u0648\u0641\u0642 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f\u060c \u0627\u0645\u0627 \u0645\u0637\u0645\u0626\u0646 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0648\u0628 \u0647\u0648\u06a9 \u0634\u0645\u0627 \u0627\u06a9\u0646\u0648\u0646 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a. \u062d\u0627\u0644\u0627 \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0645\u062e\u0632\u0646 \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u06a9\u0644\u0648\u0646 \u06a9\u0646\u06cc\u0645.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-2-%da%a9%d9%84%d9%88%d9%86-%da%a9%d8%b1%d8%af%d9%86-%d9%85%d8%ae%d8%b2%d9%86-%d8%a8%d9%87-%d8%b3%d8%b1%d9%88%d8%b1\">\u0645\u0631\u062d\u0644\u0647 2 &#8211; \u06a9\u0644\u0648\u0646 \u06a9\u0631\u062f\u0646 \u0645\u062e\u0632\u0646 \u0628\u0647 \u0633\u0631\u0648\u0631<\/h2>\n<p>\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0631\u0627 \u0628\u0647 \u0631\u0648\u0632 \u06a9\u0646\u062f\u060c \u0627\u0645\u0627 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0645\u062e\u0632\u0646 \u0631\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u06a9\u0646\u0648\u0646 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f. \u0648\u0627\u0631\u062f \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0634\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh sammy@your_server_ip<\/code><\/pre>\n<\/div>\n<p>\u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u0641\u0647\u0631\u0633\u062a \u0627\u0635\u0644\u06cc \u062e\u0648\u062f \u0647\u0633\u062a\u06cc\u062f. \u0633\u067e\u0633 \u0627\u0632 Git \u0628\u0631\u0627\u06cc \u06a9\u0644\u0648\u0646 \u06a9\u0631\u062f\u0646 \u0645\u062e\u0632\u0646 \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u062d\u062a\u0645\u0627\u064b \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc GitHub \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 sammy \u0648 \u0646\u0627\u0645 \u067e\u0631\u0648\u0698\u0647 Github \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 hello_hapi \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd\r\ngit clone https:\/\/github.com\/sammy\/hello_hapi.git<\/code><\/pre>\n<\/div>\n<p>\u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u06cc\u06a9 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062c\u062f\u06cc\u062f \u062d\u0627\u0648\u06cc \u067e\u0631\u0648\u0698\u0647 \u0634\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f.<\/p>\n<p>\u0628\u0627 \u06a9\u0644\u0648\u0646 \u0634\u062f\u0646 \u067e\u0631\u0648\u0698\u0647 \u062e\u0648\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a webhook \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-3-%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%d8%a7%d8%b3%da%a9%d8%b1%db%8c%d9%be%d8%aa-webhook\">\u0645\u0631\u062d\u0644\u0647 3 &#8211; \u0627\u06cc\u062c\u0627\u062f \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a Webhook<\/h2>\n<p>\u0628\u06cc\u0627\u06cc\u06cc\u062f \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0627\u06cc \u06af\u0648\u0634 \u062f\u0627\u062f\u0646 \u0628\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u0648\u0628 \u0647\u0648\u06a9 \u0627\u0632 GitHub \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645. \u0645\u0627 \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a Node.js \u0645\u06cc\u200c\u0646\u0648\u06cc\u0633\u06cc\u0645 \u06a9\u0647 \u06cc\u06a9 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0631\u0627 \u0631\u0648\u06cc \u067e\u0648\u0631\u062a 8080 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0633\u0631\u0648\u0631 \u0628\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u0648\u0628 \u0647\u0648\u06a9 \u06af\u0648\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f\u060c \u0631\u0627\u0632\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u0627 \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645 \u062a\u0623\u06cc\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u06a9\u062f \u0631\u0627 \u0627\u0632 GitHub \u0645\u06cc\u200c\u06a9\u0634\u062f.<\/p>\n<p>\u0628\u0647 \u0641\u0647\u0631\u0633\u062a \u0627\u0635\u0644\u06cc \u062e\u0648\u062f \u0628\u0631\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~<\/code><\/pre>\n<\/div>\n<p>\u06cc\u06a9 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062c\u062f\u06cc\u062f \u0628\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u0628 \u0647\u0648\u06a9 \u062e\u0648\u062f \u0628\u0647 \u0646\u0627\u0645 NodeWebhooks \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>mkdir ~\/NodeWebhooks<\/code><\/pre>\n<\/div>\n<p>\u0633\u067e\u0633 \u0628\u0647 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062c\u062f\u06cc\u062f \u0628\u0631\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/NodeWebhooks<\/code><\/pre>\n<\/div>\n<p>\u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0646\u0627\u0645 webhook.js \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc NodeWebhooks \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>nano webhook.js<\/code><\/pre>\n<\/div>\n<p>\u0627\u06cc\u0646 \u062f\u0648 \u062e\u0637 \u0631\u0627 \u0628\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/* Your codevar secret = \"your_secret_here\";\r\nvar repo = \"\/home\/sammy\/hello_hapi\";... *\/<\/code><\/pre>\n<\/div>\n<p>\u062e\u0637 \u0627\u0648\u0644 \u0645\u062a\u063a\u06cc\u0631\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0646\u06af\u0647 \u062f\u0627\u0634\u062a\u0646 \u0631\u0627\u0632 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 1 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u062a\u0623\u06cc\u06cc\u062f \u0645\u06cc \u06a9\u0646\u062f \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627 \u0627\u0632 GitHub \u0645\u06cc \u0622\u06cc\u0646\u062f. \u062e\u0637 \u062f\u0648\u0645 \u0645\u062a\u063a\u06cc\u0631\u06cc \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0645\u0633\u06cc\u0631 \u06a9\u0627\u0645\u0644 \u0645\u062e\u0632\u0646 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0628\u0631\u0627\u06cc \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0631\u0627 \u0631\u0648\u06cc \u062f\u06cc\u0633\u06a9 \u0645\u062d\u0644\u06cc \u0634\u0645\u0627 \u0646\u06af\u0647 \u0645\u06cc \u062f\u0627\u0631\u062f. \u0627\u06cc\u0646 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0645\u062e\u0632\u0646\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 2 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u0627\u0634\u0627\u0631\u0647 \u06a9\u0646\u062f.<\/p>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0627\u06cc\u0646 \u062e\u0637\u0648\u0637 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0647\u0627\u06cc http \u0648 \u06a9\u0631\u06cc\u067e\u062a\u0648 \u0631\u0627 \u0628\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0645\u0627 \u0627\u0632 \u0627\u06cc\u0646\u0647\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648\u0628 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0648 \u0647\u0634 \u0631\u0627\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0622\u0646 \u0631\u0627 \u0628\u0627 \u0622\u0646\u0686\u0647 \u0627\u0632 GitHub \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0645\u0642\u0627\u06cc\u0633\u0647 \u06a9\u0646\u06cc\u0645:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>let http = require('http');\r\nlet crypto = require('crypto');<\/code><\/pre>\n<\/div>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 child_process \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u067e\u0648\u0633\u062a\u0647 \u0631\u0627 \u0627\u0632 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062e\u0648\u062f \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const exec = require('child_process').exec;<\/code><\/pre>\n<\/div>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0627\u06cc\u0646 \u06a9\u062f \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u06cc\u06a9 \u0648\u0628 \u0633\u0631\u0648\u0631 \u062c\u062f\u06cc\u062f \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc \u0648\u0628 \u0647\u0648\u06a9 GitHub \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0627\u06af\u0631 \u06cc\u06a9 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u0639\u062a\u0628\u0631 \u0628\u0627\u0634\u062f\u060c \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f \u06a9\u062f \u0631\u0627 \u067e\u0627\u06cc\u06cc\u0646 \u0645\u06cc \u0622\u0648\u0631\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>http.createServer(function (req, res) {\r\nreq.on('data', function(chunk) {\r\nlet sig = \"sha1=\" + crypto.createHmac('sha1', secret).update(chunk.toString()).digest('hex');\r\nif (req.headers['x-hub-signature'] == sig) {\r\nexec('cd ' + repo + ' &amp;&amp; git pull');\r\n}\r\n});\r\nres.end();\r\n}).listen(8080);<\/code><\/pre>\n<\/div>\n<p>\u062a\u0627\u0628\u0639 http.createServer() \u06cc\u06a9 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0631\u0627 \u062f\u0631 \u067e\u0648\u0631\u062a 8080 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0628\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a\u06cc \u0627\u0632 Github \u06af\u0648\u0634 \u0645\u06cc \u062f\u0647\u062f. \u0628\u0631\u0627\u06cc \u0627\u0647\u062f\u0627\u0641 \u0627\u0645\u0646\u06cc\u062a\u06cc\u060c \u0645\u0627 \u062a\u0623\u06cc\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0631\u0627\u0632 \u06af\u0646\u062c\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u062f\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0628\u0627 \u0631\u0645\u0632\u06cc \u06a9\u0647 \u0647\u0646\u06af\u0627\u0645 \u0627\u06cc\u062c\u0627\u062f webhook \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 1 \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645 \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0631\u062f. \u0627\u06cc\u0646 \u0631\u0627\u0632 \u062f\u0631 \u0647\u062f\u0631 x-hub-signature \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0647\u0634 \u0634\u062f\u0647 SHA1 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0645\u0627 \u0631\u0627\u0632 \u062e\u0648\u062f \u0631\u0627 \u0647\u0634 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0627 \u0622\u0646\u0686\u0647 \u06a9\u0647 GitHub \u0628\u0631\u0627\u06cc \u0645\u0627 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc \u06a9\u0646\u062f \u0645\u0642\u0627\u06cc\u0633\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0627\u06af\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u0639\u062a\u0628\u0631 \u0628\u0627\u0634\u062f\u060c \u06cc\u06a9 \u0641\u0631\u0645\u0627\u0646 \u067e\u0648\u0633\u062a\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0645\u062e\u0632\u0646 \u0645\u062d\u0644\u06cc \u062e\u0648\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 git pull \u0627\u062c\u0631\u0627 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<p>\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062a\u06a9\u0645\u06cc\u0644 \u0634\u062f\u0647 \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const secret = \"your_secret_here\";\r\nconst repo = \"~\/your_repo_path_here\/\";\r\nconst http = require('http');\r\nconst crypto = require('crypto');\r\nconst exec = require('child_process').exec;\r\nhttp.createServer(function (req, res) {\r\nreq.on('data', function(chunk) {\r\nlet sig = \"sha1=\" + crypto.createHmac('sha1', secret).update(chunk.toString()).digest('hex');\r\nif (req.headers['x-hub-signature'] == sig) {\r\nexec('cd ' + repo + ' &amp;&amp; git pull');\r\n}\r\n});\r\nres.end();\r\n}).listen(8080);<\/code><\/pre>\n<\/div>\n<p>\u0627\u06af\u0631 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u0628\u0647 \u0627\u06cc\u0646 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u062a\u0627 \u0628\u0627 \u0627\u062c\u0627\u0632\u0647 \u062f\u0627\u062f\u0646 \u0628\u0647 \u062a\u0631\u0627\u0641\u06cc\u06a9 \u062f\u0631 \u067e\u0648\u0631\u062a 8080 \u0628\u0627 \u0648\u0628 \u062e\u0627\u0631\u062c\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0631\u0642\u0631\u0627\u0631 \u06a9\u0646\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo ufw allow 8080\/tcp<\/code><\/pre>\n<\/div>\n<\/div>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u06a9\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0627 \u062f\u0631 \u062c\u0627\u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u0645 \u06a9\u0647 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-4-%d8%aa%d8%b3%d8%aa-webhook\">\u0645\u0631\u062d\u0644\u0647 4 &#8211; \u062a\u0633\u062a Webhook<\/h2>\n<p>\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0648\u0628 \u0647\u0648\u06a9 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 node \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u062f\u0631 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u0622\u0632\u0645\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u0645. \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0631\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f \u0648 \u0631\u0648\u0646\u062f \u0631\u0627 \u062f\u0631 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u062e\u0648\u062f \u0628\u0627\u0632 \u0628\u06af\u0630\u0627\u0631\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/NodeWebhooks\r\nnodejs webhook.js<\/code><\/pre>\n<\/div>\n<p>\u0628\u0647 \u0635\u0641\u062d\u0647 \u067e\u0631\u0648\u0698\u0647 \u062e\u0648\u062f \u062f\u0631 Github.com \u0628\u0627\u0632\u06af\u0631\u062f\u06cc\u062f. \u0631\u0648\u06cc \u0628\u0631\u06af\u0647 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062f\u0631 \u0646\u0648\u0627\u0631 \u0645\u0646\u0648\u06cc \u0628\u0627\u0644\u0627\u06cc \u0635\u0641\u062d\u0647 \u0645\u062e\u0632\u0646 \u062e\u0648\u062f \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u0633\u067e\u0633 \u0631\u0648\u06cc Webhooks \u062f\u0631 \u0645\u0646\u0648\u06cc \u0646\u0627\u0648\u0628\u0631\u06cc \u0633\u0645\u062a \u0686\u067e \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f. \u0631\u0648\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u062f\u0631 \u06a9\u0646\u0627\u0631 \u0648\u0628\u06cc \u0647\u0648\u06a9\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 1 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0628\u0647 \u067e\u0627\u06cc\u06cc\u0646 \u0628\u0631\u0648\u06cc\u062f \u062a\u0627 \u0628\u062e\u0634 \u062a\u062d\u0648\u06cc\u0644 \u0647\u0627\u06cc \u0627\u062e\u06cc\u0631 \u0631\u0627 \u0628\u0628\u06cc\u0646\u06cc\u062f:<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"775\"  height=\"162\"  class=\"aligncenter wp-image-15623 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 775px) 100vw, 775px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg.png 775w, https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg-300x63.png 300w, https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg-768x161.png 768w, https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg-110x23.png 110w, https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg-200x42.png 200w, https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg-380x79.png 380w, https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg-255x53.png 255w, https:\/\/cdn.itpiran.net\/2024\/05\/28011723\/oniwqcg-550x115.png 550w\" ><\/p>\n<p>\u0633\u0647 \u0646\u0642\u0637\u0647 \u0631\u0627 \u062f\u0631 \u0633\u0645\u062a \u0631\u0627\u0633\u062a \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f \u062a\u0627 \u062f\u06a9\u0645\u0647 \u062a\u062d\u0648\u06cc\u0644 \u0645\u062c\u062f\u062f \u0638\u0627\u0647\u0631 \u0634\u0648\u062f. \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0633\u0631\u0648\u0631 \u06af\u0631\u0647 \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627 \u0627\u0633\u062a\u060c \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0645\u062c\u062f\u062f \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u060c \u0631\u0648\u06cc Redelive \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f. \u067e\u0633 \u0627\u0632 \u062a\u0623\u06cc\u06cc\u062f \u0627\u06cc\u0646\u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0631\u0627 \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u06cc\u062f\u060c \u06cc\u06a9 \u067e\u0627\u0633\u062e \u0645\u0648\u0641\u0642\u06cc\u062a \u0622\u0645\u06cc\u0632 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u06cc\u062f. \u0627\u06cc\u0646 \u0628\u0627 \u06cc\u06a9 \u06a9\u062f \u067e\u0627\u0633\u062e 200 OK \u067e\u0633 \u0627\u0632 \u062a\u062d\u0648\u06cc\u0644 \u0645\u062c\u062f\u062f \u067e\u06cc\u0646\u06af \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0627 \u062f\u0631 \u067e\u0633\u200c\u0632\u0645\u06cc\u0646\u0647 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u062f\u0631 \u0628\u0648\u062a \u0634\u0631\u0648\u0639 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 CTRL+C \u0633\u0631\u0648\u0631 \u0648\u0628 \u0647\u0648\u06a9 \u06af\u0631\u0647 \u0631\u0627 \u0645\u062a\u0648\u0642\u0641 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-5-%d9%86%d8%b5%d8%a8-webhook-%d8%a8%d9%87-%d8%b9%d9%86%d9%88%d8%a7%d9%86-%db%8c%da%a9-%d8%b3%d8%b1%d9%88%db%8c%d8%b3-systemd\">\u0645\u0631\u062d\u0644\u0647 5 &#8211; \u0646\u0635\u0628 Webhook \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 Systemd<\/h2>\n<p>systemd \u0645\u062f\u06cc\u0631 \u0648\u0638\u06cc\u0641\u0647 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u062e\u062f\u0645\u0627\u062a \u0627\u0633\u062a. \u0645\u0627 \u0633\u0631\u0648\u06cc\u0633\u06cc \u0631\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f \u06a9\u0647 \u0628\u0647 \u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u0628 \u0647\u0648\u06a9 \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u0647\u0646\u06af\u0627\u0645 \u0628\u0648\u062a \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u0645 \u0648 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a systemd \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0622\u0646 \u0645\u0627\u0646\u0646\u062f \u0647\u0631 \u0633\u0631\u0648\u06cc\u0633 \u062f\u06cc\u06af\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645.<\/p>\n<p>\u0628\u0627 \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0633\u0631\u0648\u06cc\u0633 \u062c\u062f\u06cc\u062f \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\">sudo nano \/etc\/systemd\/system\/webhook.service<\/pre>\n<\/div>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u0641\u0627\u06cc\u0644 \u0633\u0631\u0648\u06cc\u0633 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0647 systemd \u0645\u06cc\u200c\u06af\u0648\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0647 Systemd \u0645\u06cc \u06af\u0648\u06cc\u062f \u06a9\u0647 \u06a9\u062c\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u06af\u0631\u0647 \u0645\u0627 \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u062f \u0648 \u0633\u0631\u0648\u06cc\u0633 \u0645\u0627 \u0631\u0627 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<p>\u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u062e\u0648\u062f \u0631\u0627 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0633\u0627\u0645\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>[Unit]\r\nDescription=Github webhook\r\nAfter=network.target\r\n[Service]\r\nEnvironment=NODE_PORT=8080\r\nType=simple\r\nUser=sammy\r\nExecStart=\/usr\/bin\/nodejs \/home\/sammy\/NodeWebhooks\/webhook.js\r\nRestart=on-failure\r\n[Install]\r\nWantedBy=multi-user.target<\/code><\/pre>\n<\/div>\n<p>\u0633\u0631\u0648\u06cc\u0633 \u062c\u062f\u06cc\u062f \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0627 \u0628\u0648\u062a \u0634\u062f\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0634\u0631\u0648\u0639 \u0634\u0648\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo systemctl enable webhook.service<\/code><\/pre>\n<\/div>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0631\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo systemctl start webhook<\/code><\/pre>\n<\/div>\n<p>\u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0633\u0631\u0648\u06cc\u0633 \u0634\u0631\u0648\u0639 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo systemctl status webhook<\/code><\/pre>\n<\/div>\n<p>\u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u06a9\u0647 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0633\u0631\u0648\u06cc\u0633 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Output\r\n\u25cf webhook.service - Github webhook\r\nLoaded: loaded (\/etc\/systemd\/system\/webhook.service; enabled; vendor preset: enabled)\r\nActive: active (running) since Fri 2018-08-17 19:28:41 UTC; 6s ago\r\nMain PID: 9912 (nodejs)\r\nTasks: 6\r\nMemory: 7.6M\r\nCPU: 95ms\r\nCGroup: \/system.slice\/webhook.service\r\n\u2514\u25009912 \/usr\/bin\/nodejs \/home\/sammy\/NodeWebhooks\/webhook.js<\/code><\/pre>\n<\/div>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f commit \u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u0631\u0627 \u0628\u0647 \u0645\u062e\u0632\u0646 \u062e\u0648\u062f \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0627\u0632 \u062f\u0633\u062a\u06af\u0627\u0647 \u062f\u0633\u06a9\u062a\u0627\u067e \u062e\u0648\u062f\u060c \u0645\u062e\u0632\u0646 \u0631\u0627 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>git clone https:\/\/github.com\/sammy\/hello_hapi.git<\/code><\/pre>\n<\/div>\n<p>\u06cc\u06a9\u06cc \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0645\u062e\u0632\u0646 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f. \u0633\u067e\u0633 \u0641\u0627\u06cc\u0644 \u0631\u0627 commit \u06a9\u0631\u062f\u0647 \u0648 \u06a9\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 GitHub \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>git add index.js\r\ngit commit -m \"Update index file\"\r\ngit push origin master<\/code><\/pre>\n<\/div>\n<p>\u0648\u0628 \u0647\u0648\u06a9 \u0641\u0639\u0627\u0644 \u0645\u06cc \u0634\u0648\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0634\u0645\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0638\u0627\u0647\u0631 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<h2 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\">\u0646\u062a\u06cc\u062c\u0647<\/h2>\n<p>\u0634\u0645\u0627 \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a Node.js \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 commit \u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0645\u0633\u062a\u0642\u0631 \u0645\u06cc \u06a9\u0646\u062f. \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0645\u062e\u0627\u0632\u0646 \u0627\u0636\u0627\u0641\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0646\u0638\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u062d\u062a\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0637\u0648\u0631\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0648\u0642\u062a\u06cc \u0645\u062e\u0632\u0646 \u062e\u0648\u062f \u0631\u0627 \u0641\u0634\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f\u060c \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u06cc\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"Einleitung Wenn mehrere Entwickler an einem Projekt arbeiten und eine Person \u00c4nderungen in einem Repository vornimmt\u2026","protected":false},"author":1,"featured_media":15626,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193,363],"tags":[426,384,394,368],"class_list":{"0":"post-15624","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"category-programming","9":"tag-github","10":"tag-java-script","11":"tag-nodejs","12":"tag-ubuntu"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/de\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0631 \u0631\u0648\u06cc \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u0628\u0627 \u0686\u0646\u062f\u06cc\u0646 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u0647\u060c \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u06cc\u06a9 \u0646\u0641\u0631 \u0628\u0647 \u06cc\u06a9 \u0645\u062e\u0632\u0646&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/de\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-27T22:03:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/05\/28013123\/node.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\",\"datePublished\":\"2024-05-27T22:03:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/\"},\"wordCount\":100,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/05\\\/28013123\\\/node.jpg\",\"keywords\":[\"github\",\"Java Script\",\"Nodejs\",\"Ubuntu\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/\",\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/05\\\/28013123\\\/node.jpg\",\"datePublished\":\"2024-05-27T22:03:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/05\\\/28013123\\\/node.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/05\\\/28013123\\\/node.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/de\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wie man Node.js und GitHub-Webhooks zur Synchronisierung von Remote-Projekten verwendet \u2013 ITPiran-Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/de\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/","og_locale":"de_DE","og_type":"article","og_title":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0631 \u0631\u0648\u06cc \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u0628\u0627 \u0686\u0646\u062f\u06cc\u0646 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u0647\u060c \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u06cc\u06a9 \u0646\u0641\u0631 \u0628\u0647 \u06cc\u06a9 \u0645\u062e\u0632\u0646&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/de\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-05-27T22:03:42+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/05\/28013123\/node.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"admin","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631","datePublished":"2024-05-27T22:03:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/"},"wordCount":100,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/05\/28013123\/node.jpg","keywords":["github","Java Script","Nodejs","Ubuntu"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/","name":"Wie man Node.js und GitHub-Webhooks zur Synchronisierung von Remote-Projekten verwendet \u2013 ITPiran-Blog","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/05\/28013123\/node.jpg","datePublished":"2024-05-27T22:03:42+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/05\/28013123\/node.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/05\/28013123\/node.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-node-js-and-github-webhooks-to-keep-remote-projects-in-sync-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Node.js \u0648 Webhooks Github \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran Blog","description":"Iranische Nachrichten und Artikel zum Thema nachhaltiger Handel","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"Nachhaltiger iranischer Unternehmensblog","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"Administrator","url":"https:\/\/www.itpiran.net\/blog\/de\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/posts\/15624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/comments?post=15624"}],"version-history":[{"count":1,"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/posts\/15624\/revisions"}],"predecessor-version":[{"id":15625,"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/posts\/15624\/revisions\/15625"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/media\/15626"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/media?parent=15624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/categories?post=15624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/de\/wp-json\/wp\/v2\/tags?post=15624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}