{"id":3541,"date":"2025-05-14T11:33:38","date_gmt":"2025-05-14T08:33:38","guid":{"rendered":"https:\/\/cloudvps.by\/community\/?p=3541"},"modified":"2025-05-21T13:23:47","modified_gmt":"2025-05-21T10:23:47","slug":"kak-nastroit-ci-cd-na-vps-s-github-actions-i-docker","status":"publish","type":"post","link":"https:\/\/cloudvps.by\/community\/kak-nastroit-ci-cd-na-vps-s-github-actions-i-docker\/","title":{"rendered":"CI\/CD \u0441\u0432\u043e\u0438\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0430 \u043d\u0430 VPS \u0441 GitHub Actions"},"content":{"rendered":"\n<p>\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0442\u0430\u043a: \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430, \u0437\u0430\u043b\u0438\u043b\u0430 \u043d\u0430 GitHub \u2014 \u0438 \u0441\u0438\u0436\u0443, \u0440\u0443\u043a\u0430\u043c\u0438 \u0434\u0435\u043f\u043b\u043e\u044e. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 <code>git pull<\/code>, \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437, \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440. \u0418 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043b\u043e\u0432\u0438\u043b\u0430 \u0441\u0435\u0431\u044f \u043d\u0430 \u043c\u044b\u0441\u043b\u0438: \u043f\u043e\u0447\u0435\u043c\u0443 \u044f \u0432\u0441\u0451 \u0435\u0449\u0451 \u0434\u0435\u043b\u0430\u044e \u044d\u0442\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e?<\/p>\n\n\n\n<p>\u0412 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u0441\u0435\u043b\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0430 \u0441\u0435\u0431\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 <strong><a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/gitlab-ci-cd\/\" data-internallinksmanager029f6b8e52c=\"372\" title=\"GitLab CI\/CD (\u041d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0432 GitLab)\">CI\/CD<\/a> \u0441 GitHub Actions \u0438 <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/docker\/\" data-internallinksmanager029f6b8e52c=\"258\" title=\"Docker\">Docker<\/a><\/strong> \u2014 \u0447\u0442\u043e\u0431\u044b \u043f\u0443\u0448 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043c\u043e\u0451\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u041d\u0438 \u043f\u0430\u043d\u0435\u043b\u0435\u0439, \u043d\u0438 <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/jenkins\/\" data-internallinksmanager029f6b8e52c=\"371\" title=\"Jenkins\u00a0(\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 CI\/CD \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c)\">Jenkins<\/a> \u2014 \u0442\u043e\u043b\u044c\u043a\u043e GitHub \u0438 <a href=\"https:\/\/cloudvps.by\/servers\/vps\/vps_server.php\" data-internallinksmanager029f6b8e52c=\"4\" title=\"VPS \u0445\u043e\u0441\u0442\u0438\u043d\u0433\">VPS<\/a>. \u041d\u0438\u0436\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u044f \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b\u0430 \u2014 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c, \u0431\u0435\u0437 \u043c\u043e\u0434\u043d\u044b\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u043e\u0447\u0435\u043c\u0443 \u0432\u043e\u043e\u0431\u0449\u0435 GitHub Actions?<\/h2>\n\n\n\n<p>\u042f \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0430 GitLab CI, Travis, Circle \u2014 \u0432\u0441\u0451 \u043a\u043b\u0430\u0441\u0441\u043d\u043e, \u043d\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0437\u0430\u0434\u0430\u0447 \u043c\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 GitHub. \u0423 \u043c\u0435\u043d\u044f \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0440\u0435\u043f\u044b \u0442\u0430\u043c, \u0438 \u0435\u0441\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c <strong>GitHub pipeline<\/strong> \u043f\u0440\u044f\u043c\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u2014 \u0437\u0430\u0447\u0435\u043c \u0442\u044f\u043d\u0443\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0435\u0449\u0451?<\/p>\n\n\n\n<p>\u041f\u043b\u044e\u0441\u044b GitHub CI\/CD \u043b\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u043d\u0435 \u043d\u0430\u0434\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 CI-\u0441\u0435\u0440\u0432\u0435\u0440;<\/li>\n\n\n\n<li>\u0432\u0441\u0451 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u2014 \u0438 \u043a\u043e\u0434, \u0438 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d;<\/li>\n\n\n\n<li>\u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u0443\u0434\u043e\u0431\u043d\u043e, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/ssh\/\" data-internallinksmanager029f6b8e52c=\"197\" title=\"SSH (Secure Shell)\">SSH<\/a>;<\/li>\n\n\n\n<li>\u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0448\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 runner\u2019\u044b.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0427\u0442\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u044f \u0445\u043e\u0442\u0435\u043b\u0430 \u043e\u0442 CI\/CD<\/h2>\n\n\n\n<p>\u0423 \u043c\u0435\u043d\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/node-v-kubernetes\/\" data-internallinksmanager029f6b8e52c=\"349\" title=\"Node (\u0432 Kubernetes)\">Node<\/a>.js, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0432 Docker-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 \u043d\u0430 VPS \u043e\u0442 CloudVPS.by. \u0426\u0435\u043b\u044c \u2014 \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u0443\u0448\u0435 \u0432 \u0432\u0435\u0442\u043a\u0443 <code>main<\/code>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u043b\u043e\u0441\u044c;<\/li>\n\n\n\n<li>\u0417\u0430\u043b\u0438\u0432\u0430\u043b\u0441\u044f \u043e\u0431\u0440\u0430\u0437 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440;<\/li>\n\n\n\n<li>\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0441\u044f.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0413\u043e\u0442\u043e\u0432\u0438\u043c VPS \u043a \u043f\u0440\u0438\u0451\u043c\u0443 CI\/CD<\/h2>\n\n\n\n<p>\u0423 \u043c\u0435\u043d\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0439 VPS \u043d\u0430 Ubuntu 22.04. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0430 Docker \u0438 Docker Compose:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update &amp;&amp; apt install docker.io docker-compose -y\nsystemctl enable docker\n<\/code><\/pre>\n\n\n\n<p>\u0421\u043e\u0437\u0434\u0430\u043b\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <code>deploy<\/code>, \u0434\u0430\u043b\u0430 \u0435\u043c\u0443 SSH-\u043a\u043b\u044e\u0447\u0438 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0430 \u0435\u0433\u043e \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 <code>docker<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>usermod -aG docker deploy\n<\/code><\/pre>\n\n\n\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u2014 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e: \u043f\u043e\u0434\u043d\u044f\u043b\u0430 <code>docker-compose.yml<\/code> \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0430, \u0447\u0442\u043e \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c GitHub Actions<\/h2>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a <strong>GitHub CI\/CD<\/strong>. \u0412\u043d\u0443\u0442\u0440\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u044e \u043f\u0430\u043f\u043a\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.github\/workflows\/deploy.yml\n<\/code><\/pre>\n\n\n\n<p>\u0412\u043e\u0442 \u043c\u043e\u0439 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 <code>deploy.yml<\/code> (\u0438 \u043e\u043d \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0439):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>name: Deploy to VPS\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions\/checkout@v3\n\n      - name: Deploy via SSH\n        uses: appleboy\/ssh-action@v0.1.6\n        with:\n          host: ${{ secrets.VPS_HOST }}\n          username: ${{ secrets.VPS_USER }}\n          key: ${{ secrets.VPS_KEY }}\n          script: |\n            cd \/home\/deploy\/my-app\n            git pull\n            docker compose down\n            docker compose up -d --build\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c: \u043a\u0430\u043a \u0445\u0440\u0430\u043d\u044e \u0434\u043e\u0441\u0442\u0443\u043f\u044b<\/h2>\n\n\n\n<p>\u0412\u0441\u0435 \u043a\u043b\u044e\u0447\u0438 \u0438 <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/ip-adres\/\" data-internallinksmanager029f6b8e52c=\"204\" title=\"IP-\u0430\u0434\u0440\u0435\u0441 (Internet Protocol)\">IP<\/a> \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u0447\u0435\u0440\u0435\u0437 <strong>GitHub Secrets<\/strong>. \u0417\u0430\u0447\u0435\u043c \u043f\u0430\u043b\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>VPS_HOST<\/code> \u2014 IP \u043c\u043e\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430;<\/li>\n\n\n\n<li><code>VPS_USER<\/code> \u2014 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f (<code>deploy<\/code>);<\/li>\n\n\n\n<li><code>VPS_KEY<\/code> \u2014 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 SSH-\u043a\u043b\u044e\u0447.<\/li>\n<\/ul>\n\n\n\n<p>\u041a\u043b\u044e\u0447 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e \u0447\u0435\u0440\u0435\u0437 <code>ssh-keygen<\/code>, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u043f\u0430\u0431\u043b\u0438\u043a \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u2014 \u043a\u0430\u043a \u0441\u0435\u043a\u0440\u0435\u0442.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041f\u0438\u0448\u0443 \u043a\u043e\u0434 \u2192 \u043f\u0443\u0448 \u0432 <code>main<\/code>;<\/li>\n\n\n\n<li>\u0427\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u043c\u0438\u043d\u0443\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435: <code>git pull<\/code>, <code>docker-compose up -d<\/code> \u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442;<\/li>\n\n\n\n<li>\u0415\u0441\u043b\u0438 \u0433\u0434\u0435-\u0442\u043e \u043a\u043e\u0441\u044f\u043a \u2014 \u0432\u0438\u0436\u0443 \u043b\u043e\u0433\u0438 \u043f\u0440\u044f\u043c\u043e \u043d\u0430 GitHub.<\/li>\n<\/ul>\n\n\n\n<p>\u0423 \u043c\u0435\u043d\u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u0442\u0430\u043a \u043a\u0440\u0443\u0442\u044f\u0442\u0441\u044f \u0434\u0432\u0430 pet-\u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043b\u0435\u043d\u0434\u0438\u043d\u0433. \u0412\u0441\u0451 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f, \u0434\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430 \u044f \u0432 \u043f\u0443\u0442\u0438, \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0437\u0430\u043b\u0438\u0432\u0430\u044e \u043a\u043e\u043c\u043c\u0438\u0442 \u2014 \u0438 CI\/CD \u0441\u0430\u043c \u0432\u0441\u0451 \u0440\u0435\u0448\u0430\u0435\u0442.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u0430\u0440\u0443 \u0441\u043e\u0432\u0435\u0442\u043e\u0432 \u043e\u0442 \u0441\u0435\u0431\u044f<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <code>--build<\/code>, \u0447\u0442\u043e\u0431\u044b Docker \u0441\u043e\u0431\u0438\u0440\u0430\u043b \u0441\u0432\u0435\u0436\u0438\u0435 \u043e\u0431\u0440\u0430\u0437\u044b.<\/li>\n\n\n\n<li>\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435 \u043b\u043e\u0433\u0438\u043a\u0443 \u043d\u0430 staging \u0438 production \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u0432\u0435\u0442\u043a\u0430\u043c.<\/li>\n\n\n\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435, \u0447\u0442\u043e \u0432 <code>.dockerignore<\/code> \u043d\u0435\u0442 \u0432\u0430\u0436\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u2014 \u0443 \u043c\u0435\u043d\u044f \u0442\u0430\u043a \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u0443\u0448\u0451\u043b <code>.env<\/code>.<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n\n\n\n<p><strong>GitHub CI\/CD \u0441 VPS \u0438 Docker<\/strong> \u2014 \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443, \u044d\u0442\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u043d\u0435\u0440\u0432\u044b \u0438 \u0432\u0440\u0435\u043c\u044f. \u0410 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c VPS (\u0443 \u043c\u0435\u043d\u044f \u043e\u043d \u043d\u0430 CloudVPS.by) \u2014 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0435\u0431\u0435 <strong>\u0443\u0434\u043e\u0431\u043d\u0443\u044e dev-to-prod-\u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0443<\/strong> \u0431\u0435\u0437 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439.<\/p>\n\n\n\n<p>\ud83d\udc49 \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u2014 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0437\u0430\u0439\u043c\u0451\u0442 \u0432\u0435\u0447\u0435\u0440, \u0430 \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0446\u0435\u043d\u043d\u044b\u0445 \u0431\u0443\u043c\u0430\u0433.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0442\u0430\u043a: \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430, \u0437\u0430\u043b\u0438\u043b\u0430 \u043d\u0430 GitHub \u2014 \u0438 \u0441\u0438\u0436\u0443, \u0440\u0443\u043a\u0430\u043c\u0438 \u0434\u0435\u043f\u043b\u043e\u044e. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 git pull, \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437, \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440. \u0418 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043b\u043e\u0432\u0438\u043b\u0430 \u0441\u0435\u0431\u044f \u043d\u0430 \u043c\u044b\u0441\u043b\u0438: \u043f\u043e\u0447\u0435\u043c\u0443 \u044f \u0432\u0441\u0451 \u0435\u0449\u0451 \u0434\u0435\u043b\u0430\u044e \u044d\u0442\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e? \u0412 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u0441\u0435\u043b\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0430 \u0441\u0435\u0431\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 CI\/CD \u0441 GitHub Actions \u0438 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-3541","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-avtomatizacziya"],"_links":{"self":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts\/3541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/comments?post=3541"}],"version-history":[{"count":5,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts\/3541\/revisions"}],"predecessor-version":[{"id":3706,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts\/3541\/revisions\/3706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/media\/3565"}],"wp:attachment":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/media?parent=3541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/categories?post=3541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/tags?post=3541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}