{"id":349,"date":"2025-02-16T01:01:12","date_gmt":"2025-02-15T23:01:12","guid":{"rendered":"https:\/\/olvas.dev\/?p=349"},"modified":"2025-02-16T01:01:13","modified_gmt":"2025-02-15T23:01:13","slug":"github-actions-%d0%bf%d1%80%d0%be%d1%81%d1%82%d0%be%d0%b9-%d0%bf%d1%80%d0%b8%d0%bc%d0%b5%d1%80-%d0%b4%d0%bb%d1%8f-%d1%83%d0%b2%d0%b5%d1%80%d0%b5%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d0%b7%d0%bd%d0%b0%d0%ba","status":"publish","type":"post","link":"https:\/\/olvas.dev\/?p=349","title":{"rendered":"Github Actions. \u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u0430"},"content":{"rendered":"\n<p>\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0442\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0435\u043f\u043b\u043e\u0439 \u0434\u043b\u044f \u043b\u0438\u0447\u043d\u043e\u0433\u043e\/\u0443\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u043e\u043b\u044c\u0437\u0443\u044f\u0441\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c GitHub Actions (\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u043c \u043f\u043b\u0430\u043d\u043e\u043c&nbsp;<a href=\"https:\/\/github.com\/pricing\" rel=\"noreferrer noopener\" target=\"_blank\">Free<\/a>, \u0432 \u043b\u0438\u0447\u043d\u044b\u0445 \u043d\u0443\u0436\u0434\u0430\u0445 \u0434\u043e\u043b\u0436\u043d\u043e \u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0433\u043b\u0430\u0437\u0430). \u041f\u0440\u0438\u0447\u0435\u043c \u044d\u0442\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0434\u0430\u0436\u0435 \u0441 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u043c (\u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438).<\/p>\n\n\n\n<p>\u0410\u043a\u0446\u0435\u043d\u0442\u0438\u0440\u0443\u044e \u043d\u0430 \u0442\u0435\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043d\u0435 \u0441\u0430\u043c\u044b\u043c\u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c\u0438, \u0447\u0438\u0442\u0430\u044f&nbsp;<a href=\"https:\/\/docs.github.com\/ru\/actions\/quickstart#creating-your-first-workflow\" rel=\"noreferrer noopener\" target=\"_blank\">\u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e<\/a>&nbsp;\u043e\u0442 Github.<\/p>\n\n\n\n<p>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u044b \u0443\u0436\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f Github. \u041f\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u043c\u0443 \u0441\u0447\u0435\u0442\u0443 \u043d\u0435 \u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u043e\u0439 \u0443 \u0432\u0430\u0441 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0441\u0442\u0435\u043a: \u0433\u043b\u0430\u0432\u043d\u043e\u0435 &#8212; \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 Github Actions \u0438 \u0443\u043c\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<a target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Workflow \u0444\u0430\u0439\u043b\u044b<\/h3>\n\n\n\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f&nbsp;<code>workflow<\/code>&nbsp;\u0444\u0430\u0439\u043b\u0430, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e Github \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 Actions. \u041d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435&nbsp;<em>Actions<\/em>&nbsp;\u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043d\u0430 \u0431\u0430\u0437\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u0434\u0430 Github \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b&nbsp;<code>workflow<\/code>&nbsp;\u0444\u0430\u0439\u043b\u0430, \u043d\u0430\u0447\u043d\u0435\u043c \u0441&nbsp;<em>Simple workflow<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1073\" height=\"608\" src=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/35c3a0576f1db083232cc8c58a708562.png\" alt=\"\u0428\u0430\u0431\u043b\u043e\u043d &quot;Simple workflow&quot;\" class=\"wp-image-352\" title=\"\u0428\u0430\u0431\u043b\u043e\u043d &quot;Simple workflow&quot;\" srcset=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/35c3a0576f1db083232cc8c58a708562.png 1073w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/35c3a0576f1db083232cc8c58a708562-300x170.png?_mod=1739660464 300w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/35c3a0576f1db083232cc8c58a708562-1024x580.png?_mod=1739660465 1024w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/35c3a0576f1db083232cc8c58a708562-768x435.png?_mod=1739660464 768w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/35c3a0576f1db083232cc8c58a708562-640x363.png?_mod=1739660464 640w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/35c3a0576f1db083232cc8c58a708562-882x500.png?_mod=1739660465 882w\" sizes=\"auto, (max-width: 1073px) 100vw, 1073px\" \/><figcaption class=\"wp-element-caption\">\u0428\u0430\u0431\u043b\u043e\u043d &#171;Simple workflow&#187;<\/figcaption><\/figure>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443\u00a0<code>Configure<\/code>\u00a0\u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430.\u041f\u0440\u0438\u043c\u0435\u0440 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e workflow \u0444\u0430\u0439\u043b\u0430 simple.yml<br><a href=\"https:\/\/docs.github.com\/en\/actions\/learn-github-actions\/understanding-github-actions#jobs\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f&nbsp;<code>name-of-your-wokflow-file.yml<\/code>&nbsp;\u0444\u0430\u0439\u043b\u0430, \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043f\u0430\u043f\u043a\u0430 c \u0444\u0430\u0439\u043b\u043e\u043c&nbsp;<code>.github\/workflows\/name-of-your-wokflow-file.yml<\/code>. Workflow \u0444\u0430\u0439\u043b\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e.<\/p>\n\n\n\n<p>\u0418\u0442\u0430\u043a, \u0441\u043c\u044b\u0441\u043b \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u043f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043d\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0432\u0430\u043c\u0438 \u0432\u0435\u0442\u043a\u0435.<\/p>\n\n\n\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &#171;\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0435\u043f\u043b\u043e\u0439&#187; &#8212; \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043a\u043e\u0434\u0430 \u043b\u0438\u043d\u0442\u0435\u0440\u043e\u043c,<\/li>\n\n\n\n<li>\u0437\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0441\u0442\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430,<\/li>\n\n\n\n<li>\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043f\u0430\u043f\u043a\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0430\u043f\u043e\u043a\/\u0444\u0430\u0439\u043b\u043e\u0432) \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0447\u0442\u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0432 \u0441\u0438\u043b\u0443.<\/li>\n<\/ul>\n\n\n\n<p>\u0410 \u0435\u0441\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441 \u0443\u0447\u0435\u0442\u043e\u043c&nbsp;<code>workflow<\/code>&nbsp;\u0444\u0430\u0439\u043b\u0430, \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u044d\u0442\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0432\u0430:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Github \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u0441 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0432\u0430\u043c\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439.<\/li>\n\n\n\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0432\u0430\u0448 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439: \u0435\u0433\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0435, git, \u043d\u0443\u0436\u043d\u044b\u0435 \u0432\u0435\u0442\u043a\u0438, \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e.<\/li>\n\n\n\n<li>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u0432 \u044d\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0432\u0430\u0448 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438<\/li>\n\n\n\n<li>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043a\u043e\u0434\u0430, \u0442\u0435\u0441\u0442\u044b.<\/li>\n\n\n\n<li>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0432\u043d\u0435\u0441\u043b\u0438 \u0432 \u0432\u0430\u0448 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u043d\u0430 \u0432\u0430\u0448 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440.<\/li>\n\n\n\n<li>\u0414\u0435\u043b\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0434\u043b\u044f \u0432\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u043b\u0443 \u0432\u0430\u0448\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435.<\/li>\n<\/ul>\n\n\n\n<p>\u041e\u0431\u044b\u0447\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043a\u043e\u0434\u0430, \u0437\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0441\u0442\u043e\u0432 \u0438&nbsp;<em>\u0434\u0435\u043f\u043b\u043e\u0439<\/em>&nbsp;\u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0442 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435&nbsp;<code>job<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435&nbsp;<a href=\"https:\/\/docs.github.com\/en\/actions\/learn-github-actions\/understanding-github-actions#runners\" rel=\"noreferrer noopener\" target=\"_blank\"><u>runners<\/u><\/a>. \u0420\u0430\u043d\u043d\u0435\u0440 &#8212; \u044d\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043e\u0434\u043d\u0443&nbsp;<code>job<\/code>.<a target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Actions<\/h3>\n\n\n\n<p>\u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0432 workflow-\u0444\u0430\u0439\u043b\u0435 &#8212;&nbsp;<code>actions<\/code>&nbsp;\u0432 \u0441\u0442\u0440\u043e\u043a\u0435&nbsp;<code>uses<\/code>. \u0412 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 \u044d\u0442\u043e &#8212;&nbsp;<a href=\"https:\/\/github.com\/actions\/checkout\" rel=\"noreferrer noopener\" target=\"_blank\">actions\/checkout@v3<\/a>. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u043a\u043e\u0434\u0435, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442&nbsp;<code>action<\/code>. \u041d\u043e \u043f\u0440\u043e\u0449\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f&nbsp;<code>job<\/code>, \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u044b \u0435\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430<\/li>\n\n\n\n<li>\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u044e\u00a0<code>git<\/code>, \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0430\u043f\u043a\u0438 \u043d\u0443\u0436\u043d\u044b\u0435, \u043f\u0438\u0448\u0435\u0442 \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/li>\n\n\n\n<li>\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/li>\n\n\n\n<li>\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f<\/li>\n\n\n\n<li>\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0432\u043d\u0443\u0442\u0440\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430<\/li>\n\n\n\n<li>\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0432\u0435\u0442\u043a\u0443\u00a0<code>main<\/code><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1269\" height=\"880\" src=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/c114b2e7509501a1258808ab9e2cb847.png\" alt=\"\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b actions\/checkout@v3\" class=\"wp-image-353\" title=\"\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b actions\/checkout@v3\" srcset=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/c114b2e7509501a1258808ab9e2cb847.png 1269w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/c114b2e7509501a1258808ab9e2cb847-300x208.png?_mod=1739660464 300w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/c114b2e7509501a1258808ab9e2cb847-1024x710.png?_mod=1739660466 1024w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/c114b2e7509501a1258808ab9e2cb847-768x533.png?_mod=1739660465 768w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/c114b2e7509501a1258808ab9e2cb847-640x444.png?_mod=1739660465 640w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/c114b2e7509501a1258808ab9e2cb847-721x500.png?_mod=1739660466 721w\" sizes=\"auto, (max-width: 1269px) 100vw, 1269px\" \/><figcaption class=\"wp-element-caption\">\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b actions\/checkout@v3<\/figcaption><\/figure>\n\n\n\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e&nbsp;<code>actions<\/code>, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0432\u044b\u0431\u0440\u0430\u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430&nbsp;<a href=\"https:\/\/github.com\/marketplace\/\" rel=\"noreferrer noopener\" target=\"_blank\">Github Marketplace<\/a>.<\/p>\n\n\n\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0441\u0432\u043e\u0438\u0445 \u043d\u0443\u0436\u0434\u0430\u0445 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430&nbsp;<a href=\"https:\/\/github.com\/marketplace\/actions\/ssh-command\" rel=\"noreferrer noopener\" target=\"_blank\">D3rHase\/ssh-command-action@v0.2.2<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043c\u043e\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0447\u0435\u0440\u0435\u0437&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/OpenSSH\" rel=\"noreferrer noopener\" target=\"_blank\">ssh<\/a>&nbsp;\u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435.<a target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u041c\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440<\/h3>\n\n\n\n<p>\u041c\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442-\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u043d \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c Ruby on Rails, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0431\u0435\u0437 \u043d\u0430\u0447\u0438\u043d\u043a\u0438 \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438. \u042f \u0432\u044b\u0431\u0440\u0430\u043b\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u044b\u0439 workflow-\u0444\u0430\u0439\u043b \u0438\u0437 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 Github \u0438 \u0434\u043e\u043f\u0438\u0441\u0430\u043b\u0430 \u0435\u0433\u043e \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u0434\u044b.<\/p>\n\n\n\n<p>\u041c\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438 \u0434\u043b\u044f CI\/CD. \u0412 \u0444\u0430\u0439\u043b\u0435 rubyonrails.yml \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0442\u0430\u043a\u0430\u044f:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0430 \u043b\u0438\u043d\u0442\u0435\u0440\u043e\u043c \u043a\u043e\u0434.<\/li>\n\n\n\n<li>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u0442\u0435\u0441\u0442\u044b.<\/li>\n\n\n\n<li>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435:\n<ol class=\"wp-block-list\">\n<li>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c.<\/li>\n\n\n\n<li>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f\u00a0<em>git pull<\/em>.<\/li>\n\n\n\n<li>\u041f\u0435\u0440\u0435\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u00a0<em>docker<\/em>\u00a0\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p>\u0423 \u0432\u0430\u0441 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442 &#8212; \u044d\u0442\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439\u00a0<code>npm run build<\/code>\u00a0\u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043a\u0443\u0448\u0430\u0435\u0442 \u0443\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439\u00a0<em>nginx<\/em>. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u043e\u0448\u0435\u043b \u0431\u044b\u00a0<a href=\"https:\/\/github.com\/marketplace\/actions\/run-commands-via-ssh\" target=\"_blank\" rel=\"noreferrer noopener\">garygrossgarten\/github-action-scp@v1.0<\/a>\u041c\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 .github\/workflows\/rubyonrails.<\/p>\n\n\n\n<p><code>Workflow<\/code>&nbsp;\u0444\u0430\u0439\u043b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 Pull Request \u043d\u0430 \u0432\u0435\u0442\u043a\u0435&nbsp;<code>main<\/code>. \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u044e 3&nbsp;<code>jobs<\/code>&nbsp;\u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438&nbsp;<code>lint<\/code>,&nbsp;<code>test<\/code>&nbsp;\u0438&nbsp;<code>deploy<\/code>&nbsp;\u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u043d\u043d\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432 Ubuntu, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e&nbsp;<code>actions\/checkout@v3<\/code>, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 Ruby \u0438 \u043d\u0443\u0436\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e&nbsp;<code>ruby\/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4<\/code>. \u041b\u0438\u043d\u0442\u0435\u0440 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043a\u043e\u0434 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0438\u0431\u043b\u043e\u0442\u0435\u043a\u0438&nbsp;<code>rubocop<\/code>. \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043e\u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c&nbsp;<code>postgres<\/code>&nbsp;\u0441 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u043c\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f. \u041d\u0430 \u044d\u0442\u043e\u043c \u0448\u0430\u0433\u0435 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0441\u0445\u0435\u043c\u0430 \u0411\u0414, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f&nbsp;<em>\u0441\u0438\u0434\u044b<\/em>&nbsp;\u0438, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0430\u043c\u0438 \u0442\u0435\u0441\u0442\u044b. \u0428\u0430\u0433&nbsp;<code>deploy<\/code>&nbsp;\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0432\u0435\u0442\u043a\u0435 `main`. \u0417\u0434\u0435\u0441\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e&nbsp;<code>action<\/code>&nbsp;<a href=\"https:\/\/github.com\/marketplace\/actions\/ssh-command\" rel=\"noreferrer noopener\" target=\"_blank\">D3rHase\/ssh-command-action@v0.2.2<\/a>. \u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0436\u0443 \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043f\u0435\u0440\u0435\u0445\u043e\u0436\u0443 \u043d\u0430 \u0432\u0435\u0442\u043a\u0443&nbsp;<code>main<\/code>, \u043f\u0440\u0438\u0442\u044f\u0433\u0438\u0432\u0430\u044e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e&nbsp;<em>docker<\/em>&nbsp;\u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0447\u0438\u0449\u0443 \u043b\u0438\u0448\u043d\u0435\u0435, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0435 \u0441&nbsp;<em>docker<\/em>.<\/p>\n\n\n\n<p>\u041a\u0430\u043a \u0432\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0435, \u043d\u0430 \u043c\u043e\u0435\u043c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d&nbsp;<em>git<\/em>,&nbsp;<em>docker<\/em>,&nbsp;<em>docker-compose<\/em>, Github \u043f\u043e\u0434\u0440\u0443\u0436\u0435\u043d \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e SSH-\u043a\u043b\u044e\u0447\u0430.<\/p>\n\n\n\n<p>\u0420\u0430\u043d\u043d\u0435\u0440\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e&nbsp;<code>needs<\/code>&nbsp;\u0432 \u0442\u0435\u043b\u0435&nbsp;<code>job<\/code>.<\/p>\n\n\n\n<p>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u043d\u043d\u0435\u0440\u044b \u043d\u0430 Github \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0441\u0438\u043c\u043f\u0430\u0442\u0438\u0447\u043d\u043e \u0438 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1328\" height=\"527\" src=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/51ae1ceee85ce5304db7214c93430b28.png\" alt=\"\u0412\u0438\u0434 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0430 jobs\" class=\"wp-image-354\" title=\"\u0412\u0438\u0434 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0430 jobs\" srcset=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/51ae1ceee85ce5304db7214c93430b28.png 1328w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/51ae1ceee85ce5304db7214c93430b28-300x119.png?_mod=1739660464 300w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/51ae1ceee85ce5304db7214c93430b28-1024x406.png?_mod=1739660465 1024w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/51ae1ceee85ce5304db7214c93430b28-768x305.png?_mod=1739660465 768w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/51ae1ceee85ce5304db7214c93430b28-640x254.png?_mod=1739660465 640w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/51ae1ceee85ce5304db7214c93430b28-1000x397.png?_mod=1739660465 1000w\" sizes=\"auto, (max-width: 1328px) 100vw, 1328px\" \/><figcaption class=\"wp-element-caption\">\u0412\u0438\u0434 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0430 jobs<\/figcaption><\/figure>\n\n\n\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0435\u0435, \u0447\u0442\u043e \u0442\u0430\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442. \u0415\u0441\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u0438\u0434\u0435\u0442 \u043d\u0435 \u0442\u0430\u043a, \u0442\u0430\u043c \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0438 \u0438\u043b\u0438 \u0432\u044b\u0432\u043e\u0434 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0445, \u0442\u0438\u043f\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432.\u041f\u0440\u0438\u043c\u0435\u0440 job \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<\/p>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 CI\/CD \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0435<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Secrets<\/h3>\n\n\n\n<p>\u0412 rubyinrails.yml \u0444\u0430\u0439\u043b\u0435 \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437 \u043e\u0431\u044a\u0435\u043a\u0442\u0430&nbsp;<code>secrets<\/code>. \u042d\u0442\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c \u0432\u0430\u0448 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0438\u043c\u0438\u0441\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c\u0438 \u043d\u0430 Github \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b\u0430 \u0448\u0430\u0433\u0438:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0430 SSH \u043a\u043b\u044e\u0447 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/.ssh; ssh-keygen -t ed25519 -C \"your_email@example.com\"<\/code><\/pre>\n\n\n\n<p>\u0421\u043a\u0430\u0436\u0435\u043c, \u044f \u043d\u0430\u0437\u0432\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b test \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430 2 \u0444\u0430\u0439\u043b\u0430 &#8212; \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1034\" height=\"135\" src=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/11251f69fde70665397155ef72fefaf3.png\" alt=\"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 ssh-\u043a\u043b\u044e\u0447\u0438\" class=\"wp-image-355\" title=\"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 ssh-\u043a\u043b\u044e\u0447\u0438\" srcset=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/11251f69fde70665397155ef72fefaf3.png 1034w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/11251f69fde70665397155ef72fefaf3-300x39.png?_mod=1739660465 300w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/11251f69fde70665397155ef72fefaf3-1024x134.png?_mod=1739660465 1024w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/11251f69fde70665397155ef72fefaf3-768x100.png?_mod=1739660465 768w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/11251f69fde70665397155ef72fefaf3-640x84.png?_mod=1739660465 640w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/11251f69fde70665397155ef72fefaf3-1000x131.png?_mod=1739660465 1000w\" sizes=\"auto, (max-width: 1034px) 100vw, 1034px\" \/><figcaption class=\"wp-element-caption\">\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 ssh-\u043a\u043b\u044e\u0447\u0438<\/figcaption><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u044f \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0432\u00a0<code>SSH_PRIVATE_KEY<\/code>\u00a0\u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435\u00a0<em>Settings -> Secrets -> Actions:<\/em><\/li>\n\n\n\n<li>\u0421\u043e\u0437\u0434\u0430\u043b\u0430 \u0435\u0449\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u00a0<code>SSH_HOST<\/code>\u00a0\u0438\u00a0<code>SSH_USER<\/code>,\u00a0<code>PROJECT_FOLDER<\/code>\u00a0\u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1177\" height=\"826\" src=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/0ac7f487c2b5f827587f3a72e200b47e.png\" alt=\"\u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0434\u043b\u044f actions\" class=\"wp-image-351\" title=\"\u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0434\u043b\u044f actions\" srcset=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/0ac7f487c2b5f827587f3a72e200b47e.png 1177w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/0ac7f487c2b5f827587f3a72e200b47e-300x211.png?_mod=1739660464 300w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/0ac7f487c2b5f827587f3a72e200b47e-1024x719.png?_mod=1739660464 1024w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/0ac7f487c2b5f827587f3a72e200b47e-768x539.png?_mod=1739660464 768w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/0ac7f487c2b5f827587f3a72e200b47e-640x449.png?_mod=1739660464 640w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/02\/0ac7f487c2b5f827587f3a72e200b47e-712x500.png?_mod=1739660465 712w\" sizes=\"auto, (max-width: 1177px) 100vw, 1177px\" \/><figcaption class=\"wp-element-caption\">\u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0434\u043b\u044f actions<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n\n\n\n<p>\u0418\u0442\u043e\u0433\u043e \u043f\u043e \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c workflow.yml \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0432\u0430\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f.<\/li>\n\n\n\n<li>\u0413\u0434\u0435 \u0438 \u043a\u0430\u043a \u0438\u0441\u043a\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0432\u0430\u043c\u00a0<code>actions<\/code>\u00a0\u0438\u043b\u0438 \u0441\u0430\u043c\u043e\u043c\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u0438\u043b\u0438 \u043c\u043d\u043e\u0433\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 bash-\u0441\u043a\u0440\u0438\u043f\u0442, \u0435\u0441\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u043e\u0441\u0442\u0430\u044f.<\/li>\n\n\n\n<li>\u0413\u0434\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0432\u0430\u0448\u0435\u043c\u00a0<code>workflow<\/code>\u00a0\u0444\u0430\u0439\u043b\u0435.<\/li>\n\n\n\n<li>\u041a\u0430\u043a \u0434\u0435\u0431\u0430\u0436\u0438\u0442\u044c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043e\u043a.<\/li>\n<\/ul>\n\n\n\n<p>\u0423\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u044f \u0432\u0430\u043c \u043e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0442\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0435\u043f\u043b\u043e\u0439 \u0434\u043b\u044f \u043b\u0438\u0447\u043d\u043e\u0433\u043e\/\u0443\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u043e\u043b\u044c\u0437\u0443\u044f\u0441\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c GitHub Actions (\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u043c \u043f\u043b\u0430\u043d\u043e\u043c&nbsp;Free, \u0432 \u043b\u0438\u0447\u043d\u044b\u0445 \u043d\u0443\u0436\u0434\u0430\u0445 \u0434\u043e\u043b\u0436\u043d\u043e \u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0437\u0430 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":350,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-likbez","entry-card--landscape"],"_links":{"self":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349"}],"version-history":[{"count":1,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":356,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions\/356"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/media\/350"}],"wp:attachment":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}