{"id":1030,"date":"2025-12-03T18:13:55","date_gmt":"2025-12-03T14:43:55","guid":{"rendered":"https:\/\/rayka-co.ir\/new\/?post_type=lesson&#038;p=1030"},"modified":"2025-12-03T22:54:14","modified_gmt":"2025-12-03T19:24:14","slug":"%db%b21-%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%88-%d9%be%db%8c%d8%a7%d8%af%d9%87-%d8%b3%d8%a7%d8%b2%db%8c-inputs-variable-%d9%88-secrets-%d8%af%d8%b1-forgejo","status":"publish","type":"lesson","link":"https:\/\/rayka-co.ir\/new\/\u062f\u0631\u0633\/%db%b21-%d9%85%d9%81%d8%a7%d9%87%db%8c%d9%85-%d9%88-%d9%be%db%8c%d8%a7%d8%af%d9%87-%d8%b3%d8%a7%d8%b2%db%8c-inputs-variable-%d9%88-secrets-%d8%af%d8%b1-forgejo\/","title":{"rendered":"\u200b\u06f2\u06f1. \u0645\u0641\u0627\u0647\u06cc\u0645 \u0648 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc Inputs, Variable \u0648 Secrets \u062f\u0631 Forgejo"},"content":{"rendered":"\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645 \u0686\u06af\u0648\u0646\u0647 \u062f\u0631 GitHub Actions \u0628\u0627 <strong>Secrets\u060c Environment Variables<\/strong> \u0648 <strong>Workflow Inputs<\/strong> \u06a9\u0627\u0631 \u06a9\u0646\u06cc\u0645. \u0647\u0645\u06cc\u0646\u200c\u0637\u0648\u0631 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 Secrets \u0686\u0637\u0648\u0631 \u062f\u0631 Repository \u06cc\u0627 Organization \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u0686\u06af\u0648\u0646\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0627\u0645\u0646 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 workflow \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u060c \u0648 \u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 Environment Variables \u062f\u0631 \u0633\u0637\u062d Workflow\u060c Job \u0648 Step \u0686\u06cc\u0633\u062a. \u0647\u0645\u0686\u0646\u06cc\u0646 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645 \u0627\u0646\u0648\u0627\u0639 \u0648\u0631\u0648\u062f\u06cc\u200c\u0647\u0627 \u0645\u0627\u0646\u0646\u062f string\u060c number \u0648 boolean \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u200cworkflow_dispatch \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u0645 \u0648 \u062f\u0631 \u0627\u062c\u0631\u0627\u06cc automation\u200c\u0647\u0627 \u0628\u0647 \u06a9\u0627\u0631 \u0628\u0628\u0631\u06cc\u0645.<\/p>\n\n\n\n<p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0627\u06cc\u0646 \u0645\u0642\u0627\u062f\u06cc\u0631 \u062f\u0631 \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a Python \u0642\u0627\u0628\u0644 \u062f\u0631\u06cc\u0627\u0641\u062a \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0647\u0633\u062a\u0646\u062f\u060c \u0645\u062b\u0644\u0627\u064b \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u0645\u062b\u0644 backup \u06af\u0631\u0641\u062a\u0646 \u0627\u0632 devices \u06cc\u0627 \u0627\u062c\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0647\u0627\u06cc \u0634\u0628\u06a9\u0647. \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06cc\u06a9 \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0645\u0644\u0627\u064b \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0627\u0633\u062a \u06a9\u0647 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f workflow\u0647\u0627\u06cc \u062d\u0631\u0641\u0647\u200c\u0627\u06cc\u060c \u0627\u0645\u0646 \u0648 \u0642\u0627\u0628\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0628\u0633\u0627\u0632\u06cc\u062f \u0628\u062f\u0648\u0646 \u0627\u06cc\u0646\u06a9\u0647 \u0645\u0641\u0627\u0647\u06cc\u0645 \u0627\u0635\u0644\u06cc GitHub Actions \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0628\u0647 \u0646\u0638\u0631 \u0628\u0631\u0633\u0646\u062f.<\/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>\u062a\u0639\u0631\u06cc\u0641 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>workflow inputs<\/strong> \u062f\u0631 Forgejo Workflow<\/li>\n\n\n\n<li>\u0645\u062f\u06cc\u0631\u06cc\u062a \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0645\u0646 \u0627\u0632 <strong>Secrets<\/strong> \u062f\u0631 Repository \u0648 Globally<\/li>\n\n\n\n<li>\u062a\u0639\u0631\u06cc\u0641 <strong>Environment Variables<\/strong> \u062f\u0631 \u0633\u0637\u062d Workflow\u060c Job \u0648 Step<\/li>\n\n\n\n<li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Inputs \u0648 Secrets \u062f\u0627\u062e\u0644 workflow \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0647\u0627<\/li>\n\n\n\n<li>\u062f\u0631\u06cc\u0627\u0641\u062a Environment Variables \u062f\u0631 <strong>Python<\/strong> \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0639\u0645\u0644\u06cc<\/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\/qqhsk8y\/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-1030","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\/1030","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=1030"}],"version-history":[{"count":5,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/1030\/revisions"}],"predecessor-version":[{"id":1038,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/1030\/revisions\/1038"}],"wp:attachment":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/media?parent=1030"}],"wp:term":[{"taxonomy":"lesson-tag","embeddable":true,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lesson-tag?post=1030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}