{"id":967,"date":"2025-11-09T11:37:06","date_gmt":"2025-11-09T08:07:06","guid":{"rendered":"https:\/\/rayka-co.ir\/new\/?post_type=lesson&#038;p=967"},"modified":"2025-11-09T12:11:10","modified_gmt":"2025-11-09T08:41:10","slug":"%db%b1%db%b9-%d9%85%d8%ab%d8%a7%d9%84-%d9%88%d8%a7%d9%82%d8%b9%db%8c-forgejo-workflow-%d8%ae%d9%88%d8%af%da%a9%d8%a7%d8%b1%d8%b3%d8%a7%d8%b2%db%8c-backup-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%da%af%d8%a7","status":"publish","type":"lesson","link":"https:\/\/rayka-co.ir\/new\/\u062f\u0631\u0633\/%db%b1%db%b9-%d9%85%d8%ab%d8%a7%d9%84-%d9%88%d8%a7%d9%82%d8%b9%db%8c-forgejo-workflow-%d8%ae%d9%88%d8%af%da%a9%d8%a7%d8%b1%d8%b3%d8%a7%d8%b2%db%8c-backup-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%da%af%d8%a7\/","title":{"rendered":"\u06f1\u06f9. \u0645\u062b\u0627\u0644 \u0648\u0627\u0642\u0639\u06cc Forgejo Workflow: \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc Backup \u0627\u0632 \u062f\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0634\u0628\u06a9\u0647"},"content":{"rendered":"\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u062f\u0631\u0633 \u06cc\u06a9 <strong>Forgejo Workflow \u0648\u0627\u0642\u0639\u06cc<\/strong> \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0647\u062f\u0641 \u0622\u0646 <strong>\u0627\u062a\u0648\u0645\u0627\u0633\u06cc\u0648\u0646 Backup \u0627\u0632 \u062f\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0634\u0628\u06a9\u0647<\/strong> \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644 \u0639\u0645\u0644\u06cc\u060c \u0634\u0645\u0627 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>Nornir<\/strong> \u0648 <strong>Scrapli plugin<\/strong> \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a Python \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f \u06a9\u0647 \u0628\u0647 \u062f\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0634\u0628\u06a9\u0647 \u0645\u062a\u0635\u0644 \u0634\u062f\u0647 \u0648 \u062e\u0631\u0648\u062c\u06cc <strong>show running-config<\/strong> \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u062f\u0631 \u0645\u0633\u06cc\u0631 \u0645\u0634\u062e\u0635 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u062f.<\/p>\n\n\n\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u062f\u0631 \u0627\u06cc\u0646 \u062f\u0631\u0633 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0631\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u06a9\u0627\u0645\u0644\u0627\u064b \u062e\u0648\u062f\u06a9\u0627\u0631 \u062f\u0631 \u0642\u0627\u0644\u0628 \u06cc\u06a9 <strong>Forgejo Workflow<\/strong> \u0627\u062c\u0631\u0627 \u06a9\u0631\u062f\u061b \u0628\u0647\u200c\u0637\u0648\u0631\u06cc\u200c\u06a9\u0647 Workflow \u067e\u0633 \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u06cc (manual dispatch) \u0645\u062d\u06cc\u0637 \u0631\u0627 \u0622\u0645\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647\u060c dependencies \u0644\u0627\u0632\u0645 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u062f\u060c \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a Backup \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0631\u062f\u0647 \u0648 \u062f\u0631 \u067e\u0627\u06cc\u0627\u0646\u060c \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f\u0634\u062f\u0647 \u0631\u0627 commit \u0648 push \u06a9\u0646\u062f \u062a\u0627 \u062f\u0631 <strong>Repository<\/strong> \u0630\u062e\u06cc\u0631\u0647 \u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647\u200c\u06cc \u0648\u0627\u0642\u0639\u06cc \u0627\u0632 \u0627\u062f\u063a\u0627\u0645 <strong>Network Automation<\/strong> \u0628\u0627 <strong>CI\/CD Pipeline<\/strong> \u062f\u0631 Forgejo \u0627\u0633\u062a.<\/p>\n\n\n\n<p>\u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u062f\u0631\u0633 \u0628\u062d\u062b \u0648 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0627\u062c\u0631\u0627\u06cc \u06cc\u06a9 <strong>Forgejo Workflow \u0648\u0627\u0642\u0639\u06cc<\/strong> \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 Backup \u0627\u0632 \u062f\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0634\u0628\u06a9\u0647<\/li>\n\n\n\n<li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>Nornir<\/strong> \u0648 <strong>Scrapli plugin<\/strong> \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062f\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627<\/li>\n\n\n\n<li>\u062e\u0648\u0627\u0646\u062f\u0646 <strong>Device Credentials<\/strong> \u0627\u0632 Secrets \u062f\u0631 \u0645\u062d\u06cc\u0637 Forgejo<\/li>\n\n\n\n<li>\u0630\u062e\u06cc\u0631\u0647 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc Backup \u062f\u0631 \u0645\u0633\u06cc\u0631 \u0645\u0634\u062e\u0635 \u0648 Commit \u06a9\u0631\u062f\u0646 \u0622\u0646\u200c\u0647\u0627 \u062f\u0631 Repository<\/li>\n\n\n\n<li>\u0628\u0631\u0631\u0633\u06cc \u0633\u0627\u062e\u062a\u0627\u0631 \u0648 \u0645\u0631\u0627\u062d\u0644 \u0627\u062c\u0631\u0627\u06cc Workflow \u0634\u0627\u0645\u0644 Jobs \u0648 Steps<\/li>\n<\/ul>\n\n\n<div class=\"sensei-block-wrapper\">\n<div class=\"wp-block-sensei-lms-lesson-actions\"><div class=\"sensei-buttons-container\">\n\n\n\n\n\n\n\n<\/div><\/div>\n<\/div>\n\n\n<style>.h_iframe-aparat_embed_frame{position:relative;}.h_iframe-aparat_embed_frame .ratio{display:block;width:100%;height:auto;}.h_iframe-aparat_embed_frame iframe{position:absolute;top:0;left:0;width:100%;height:100%;}<\/style><div class=\"h_iframe-aparat_embed_frame\"><span style=\"display: block;padding-top: 57%\"><\/span><iframe src=\"https:\/\/www.aparat.com\/video\/video\/embed\/videohash\/liecu64\/vt\/frame\"  allowFullScreen=\"true\" webkitallowfullscreen=\"true\" mozallowfullscreen=\"true\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_initial_content":"","_new_post":false,"_quiz_has_questions":false,"_lesson_complexity":"easy","_lesson_length":10,"_lesson_course":338,"_lesson_preview":"preview"},"lesson-tag":[],"class_list":["post-967","lesson","type-lesson","status-publish","hentry","module-ci-cd-with-forgejo","post"],"_links":{"self":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons"}],"about":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/types\/lesson"}],"replies":[{"embeddable":true,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/comments?post=967"}],"version-history":[{"count":4,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/967\/revisions"}],"predecessor-version":[{"id":976,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/967\/revisions\/976"}],"wp:attachment":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/media?parent=967"}],"wp:term":[{"taxonomy":"lesson-tag","embeddable":true,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lesson-tag?post=967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}