{"id":49106,"date":"2023-08-21T22:11:57","date_gmt":"2023-08-21T13:11:57","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=49106&#038;preview=true&#038;preview_id=49106"},"modified":"2023-08-29T21:40:17","modified_gmt":"2023-08-29T12:40:17","slug":"how-to-setup-ci-cd-pipeline","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/","title":{"rendered":"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u5909\u5316\u306e\u6fc0\u3057\u3044<a href=\"https:\/\/kinsta.com\/web-development\/\">\u30a6\u30a7\u30d6\u958b\u767a<\/a>\u306e\u4e16\u754c\u3067\u3001\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u7d99\u7d9a\u7684\u30c7\u30ea\u30d0\u30ea\u30fc\uff08<a href=\"https:\/\/kinsta.com\/blog\/devops-tools\/#devops-pipeline-cicd-tools\">CI\/CD<\/a>\uff09\u306f\u3001\u9ad8\u54c1\u8cea\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u52b9\u7387\u7684\u306b\u751f\u307f\u51fa\u3059\u305f\u3081\u306b\u4e0d\u53ef\u6b20\u306a\u6982\u5ff5\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002CI\/CD\u306b\u3088\u3063\u3066\u3001\u30d3\u30eb\u30c9\u3001\u30c6\u30b9\u30c8\u3001\u30c7\u30d7\u30ed\u30a4\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u81ea\u52d5\u5316\u3001\u3055\u3089\u306b\u30d2\u30e5\u30fc\u30de\u30f3\u30a8\u30e9\u30fc\u306b\u3088\u308b\u30ea\u30b9\u30af\u3092\u6e1b\u3089\u3057\u306a\u304c\u3089\u3001\u7d20\u65e9\u3044\u53cd\u5fa9\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001CI\/CD\u306e\u91cd\u8981\u6027\u3001CI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u4f5c\u6210\u65b9\u6cd5\u3001\u305d\u3057\u3066\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-push-code-to-github\/\">GitHub<\/a>\u30ea\u30dd\u30b8\u30c8\u30ea\uff08Actions\uff09\u3068<a href=\"https:\/\/kinsta.com\/jp\/docs\/kinsta-api\/\">Kinsta API<\/a>\u3092\u4f7f\u3063\u3066CI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u7d99\u7d9a\u7684\u30c7\u30d7\u30ed\u30a4\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4ecb\u3057\u3066\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u65b9\u6cd5\u3092\u3054\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>CI\/CD\u306e\u5b58\u5728\u610f\u7fa9<\/h2>\n<p>Kinsta\u306e<a href=\"https:\/\/sevalla.com\/application-hosting\/\">\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<\/a>\u306b\u306f\u3001\u30db\u30b9\u30c8\u3059\u308bGit\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u7279\u5b9a\u306e\u30d6\u30e9\u30f3\u30c1\u306b\u5909\u66f4\u304c\u3042\u308b\u305f\u3073\u306b\u305d\u308c\u3092\u691c\u77e5\u3059\u308b\u3001\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u306f\u8907\u6570\u306e\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u304c\u3044\u308b\u5927\u898f\u6a21\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u5fc5\u305a\u3057\u3082\u7406\u60f3\u7684\u3067\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u591a\u304f\u306e<a href=\"https:\/\/kinsta.com\/jp\/blog\/types-of-developers\/\">\u958b\u767a\u8005<\/a>\u304c\u3001\u3055\u307e\u3056\u307e\u306a\u7406\u7531\u304b\u3089\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u6709\u52b9\u5316\u3092\u907f\u3051\u308b\u50be\u5411\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u7406\u7531\u306e\u3072\u3068\u3064\u3068\u3057\u3066\u3001\u8907\u6570\u306e\u958b\u767a\u8005\u304c\u540c\u3058\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u643a\u308f\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u5171\u540c\u4f5c\u696d\u74b0\u5883\u3067\u3001\u3072\u3068\u308a\u306e\u958b\u767a\u8005\u304c\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5909\u66f4\u3057\u305f\u3053\u3068\u3092\u304d\u3063\u304b\u3051\u306b\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u304c\u59cb\u307e\u308b\u3068\u3001\u4e0d\u5b89\u5b9a\u306b\u306a\u3063\u305f\u308a\u4e88\u671f\u305b\u306c\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u9069\u5207\u306a\u30c6\u30b9\u30c8\u3068\u691c\u8a3c\u3092\u884c\u308f\u306a\u3044\u3068\u3001\u5c0f\u3055\u306a\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3067\u3055\u3048\u672c\u756a\u30b5\u30a4\u30c8\u306b\u6df7\u4e71\u3092\u5f15\u304d\u8d77\u3053\u3057\u3001\u30c0\u30a6\u30f3\u3084\u597d\u307e\u3057\u304f\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u72b6\u6cc1\u3092\u89e3\u6c7a\u3059\u308b\u306e\u306b\u4fbf\u5229\u306a\u306e\u304c\u3001CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067\u3059\u3002\u5165\u5ff5\u306b\u8a2d\u8a08\u3055\u308c\u305fCI\/CD\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u5185\u5bb9\u3092\u672c\u756a\u30b5\u30a4\u30c8\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u524d\u306b\u3001\u78ba\u5b9f\u306b\u30c6\u30b9\u30c8\u3068\u691c\u8a3c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306bCI\/CD\u3092\u5c0e\u5165\u3059\u308b\u30c4\u30fc\u30eb\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306f\u3001<a href=\"https:\/\/docs.github.com\/en\/actions\/learn-github-actions\/understanding-github-actions\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub Actions<\/a>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h2>GitHub Actions\u3068\u306f<\/h2>\n<p>GitHub Actions\u306fGitHub\u304c\u63d0\u4f9b\u3059\u308b\u5f37\u529b\u306a\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u306e\u69d8\u3005\u306a\u30bf\u30b9\u30af\u3084\u30d7\u30ed\u30bb\u30b9\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u7d71\u5408\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u7c21\u5358\u306b\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>GitHub Actions\u3068<a href=\"https:\/\/api-docs.kinsta.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Kinsta API<\/a>\u3092\u4f7f\u3048\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8981\u4ef6\u306b\u5408\u3063\u305f\u30ab\u30b9\u30bf\u30e0\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5b9a\u7fa9\u53ef\u80fd\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u4eca\u56de\u3054\u7d39\u4ecb\u3059\u308b\u3088\u3046\u306b\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c6\u30b9\u30c8\u3057\u3001Kinsta\u3078\u306e\u30c7\u30d7\u30ed\u30a4\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308bCI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>GitHub Actions\u3092\u5229\u7528\u3059\u308b<\/h2>\n<p>GitHub Actions\u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3068\u3044\u3046\u30b3\u30f3\u30bb\u30d7\u30c8\u3067\u6a5f\u80fd\u3057\u307e\u3059\u3002\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306f\u3001\u7279\u5b9a\u306e\u30a4\u30d9\u30f3\u30c8\u306b\u3088\u3063\u3066\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u3001\u307e\u305f\u306f\u5b9a\u671f\u7684\u306b\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3055\u308c\u308b\u81ea\u52d5\u5316\u3055\u308c\u305f\u30bf\u30b9\u30af\u306e\u30bb\u30c3\u30c8\u3068\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u30a4\u30d9\u30f3\u30c8\u306b\u306f\u3001\u30b3\u30fc\u30c9\u306e\u30d7\u30c3\u30b7\u30e5\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3001\u8ab2\u984c\u306e\u4f5c\u6210\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3059\u308b\u3068\u3001GitHub Actions\u306b\u3088\u308a\u95a2\u9023\u3059\u308b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3055\u308c\u3001\u5b9a\u7fa9\u6e08\u307f\u306e\u4e00\u9023\u306e\u30b9\u30c6\u30c3\u30d7\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u5404\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u30b3\u30fc\u30c9\u306e\u30d3\u30eb\u30c9\u3084\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u3001\u30c7\u30d7\u30ed\u30a4\u3001\u901a\u77e5\u306e\u9001\u4fe1\u3068\u3044\u3063\u305f\u7279\u5b9a\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u8868\u3057\u307e\u3059\u30023\u3064\u306e\u30bf\u30b9\u30af\u304b\u3089\u306a\u308b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol start=\"1\">\n<li>ESLint\u3067\u69cb\u6587\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b<\/li>\n<li>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b<\/li>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u518d\u30c7\u30d7\u30ed\u30a4\u3059\u308b<\/li>\n<\/ol>\n<h3>\u30b9\u30c6\u30c3\u30d7 1. GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n<p>GitHub Actions \u3092\u4f7f\u3044\u59cb\u3081\u308b\u306b\u306f\u3001GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u300c<a href=\"https:\/\/kinsta.com\/jp\/blog\/chatgpt-clone\/\">ChatGPT\u30af\u30ed\u30fc\u30f3\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092React\u3068OpenAI API\u3067\u69cb\u7bc9\u3001\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5<\/a>\u300d\u3067\u5229\u7528\u3057\u305f<a href=\"https:\/\/github.com\/kinsta\/chatgpt-clone\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u306eGitHub<\/a>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>GitHub \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u300c<strong>Use this template<\/strong>\u300d\uff1e\u300c<strong>Create a new<\/strong> <strong>repository<\/strong>\u300d\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u306eReact\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u5404\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u5b8c\u74a7\u306a\u69cb\u6587\u3068\u30b3\u30fc\u30c9\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u5f37\u5236\u3059\u308b\u305f\u3081\u306bESLint\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3055\u308c\u305f\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3084\u30de\u30fc\u30b8\u3055\u308c\u305f\u30b3\u30fc\u30c9\u304c\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u30c6\u30b9\u30c8\u306b\u5931\u6557\u3059\u308b\u3068\u3001CI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u5185\u3067\u30c7\u30d7\u30ed\u30a4\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d72. \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e<strong>.github\/workflows<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bYAML\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30eb\u30fc\u30c8\u30ec\u30d9\u30eb\u306b\u3042\u308b\u306f\u305a\u3067\u3059\u3002\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u547d\u540d\u898f\u5247\u306f\u3001<strong>name-of-the-workflow.yml<\/strong>\u3067\u3059\u3002<\/p>\n<ol start=\"1\">\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306b<strong>.github<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li><strong>.github<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u3001<strong>workflows<\/strong>\u3068\u3044\u3046\u65b0\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>workflows\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u3001<strong>build-test-deploy.yml<\/strong>\u306e\u3088\u3046\u306a\u540d\u524d\u3067\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h3>\u30b9\u30c6\u30c3\u30d73. CI\/CD\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u8a18\u8ff0<\/h3>\n<p>\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u306e\u3067\u3001ESLint\u3067\u69cb\u6587\u3092\u30c1\u30a7\u30c3\u30af\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<h4>CI\u30a4\u30d9\u30f3\u30c8\u306e\u4f5c\u6210<\/h4>\n<p>CI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u540d\u524d\u3092\u4ed8\u3051\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u30c8\u30ea\u30ac\u30fc\u3068\u306a\u308b\u30a4\u30d9\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u3078\u306e\u30d7\u30c3\u30b7\u30e5\u3068\u3044\u30462\u3064\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">name: Build, Test, and Deploy\n\non:\n  push:\n    branches: \"main\"\n  pull_request:\n    branches: \"main\"<\/code><\/pre>\n<p>\u7279\u5b9a\u306e\u30bf\u30b9\u30af\u306b\u5bfe\u3057\u3066\u5b9a\u671f\u7684\u306a\u30b8\u30e7\u30d6\uff08cron\u30b8\u30e7\u30d6\uff09\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u3053\u308c\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3084\u30c7\u30fc\u30bf\u306e\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u3001\u305d\u306e\u4ed6\u5b9a\u671f\u7684\u306a\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4f5c\u696d\u306a\u3069\u304c\u3053\u308c\u306b\u3042\u305f\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306bcron\u30b8\u30e7\u30d6\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u306e\u4e00\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">on:\n  # push\u3068pull_request\u306e\u65e2\u5b58\u306e\u30a4\u30d9\u30f3\u30c8\u30c8\u30ea\u30ac\u30fc\n\n  # CRON\u30b8\u30e7\u30d6\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\n  schedule:\n    - cron: \"0 0 * * *\"<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001cron\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u304c<code>0 0 * * *<\/code> \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6bce\u65e5\u5348\u524d0\u6642\uff08UTC\u6642\u9593\uff09\u306b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u307e\u3059\u3002\u72b6\u6cc1\u306b\u5408\u308f\u305b\u3066cron\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5225\u306e\u4f8b\u3068\u3057\u3066\u3001\u6bce\u9031\u6708\u66dc\u65e5\u306e\u5348\u524d8\u6642\u306bCI\/CD\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u3068\u3057\u307e\u3059\u3002<code>schedule<\/code>\u30a4\u30d9\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bcron\u30b8\u30e7\u30d6\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">name: Build, Test, and Deploy\n\non:\n  push:\n    branches: \"main\"\n  pull_request:\n    branches: \"main\"\n\n  #\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u6bce\u9031\u6708\u66dc\u65e5\u306e\u5348\u524d8\u6642\uff08UTC\u6642\u9593\uff09\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\n  schedule:\n    - cron: \"0 8 * * 1\"\n\njobs:\n #\u30b8\u30e7\u30d6\u3092\u8ffd\u52a0<\/code><\/pre>\n<p>GitHub Actions\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e<code>schedule<\/code>\u30a4\u30d9\u30f3\u30c8\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u69cb\u6587\u306f\u3001UNIX\u306ecron\u69cb\u6587\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3055\u308c\u308b\u6642\u9593\u3084\u9593\u9694\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u69cb\u6587\u306f\u3001\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u306e\u69d8\u3005\u306a\u5074\u9762\u3092\u8868\u30595\u3064\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u69cb\u6210\u3055\u308c\u3001\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u69cb\u6587\u306e\u4e00\u822c\u7684\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">* * * * *\n\u252c \u252c \u252c \u252c \u252c\n\u2502 \u2502 \u2502 \u2502 \u2502\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500 Day of the week (0 - 7) (Sunday to Saturday, where both 0 and 7 represent Sunday)\n\u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500 Month (1 - 12)\n\u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500 Day of the month (1 - 31)\n\u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Hour (0 - 23)\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Minute (0 - 59)<\/code><\/pre>\n<p>\u3067\u306f\u3001\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u5206\u89e3\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><strong>\u5206\uff080 &#8211; 59\uff09<\/strong>\uff1acron\u30b8\u30e7\u30d6\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u5206\u3002\u4f8b\u3048\u3070\u3001<code>15<\/code>\u306f\u3001\u6bce\u664215\u5206\u306b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u8d77\u52d5\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u6642\u9593\uff080 &#8211; 23\uff09<\/strong>\uff1acron\u30b8\u30e7\u30d6\u304c\u8d77\u52d5\u3059\u308b\u6642\u9593\u3002\u4f8b\u3048\u3070\u3001<code>8<\/code>\u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u5348\u524d8\u6642\u306b\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u65e5\uff081 &#8211; 31\uff09<\/strong>\uff1acron\u30b8\u30e7\u30d6\u304c\u8d77\u52d5\u3059\u308b\u6708\u306e\u65e5\u3002\u4f8b\u3048\u3070\u3001<code>1<\/code>\u306f\u3001\u6708\u306e1\u65e5\u306b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u8d77\u52d5\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u6708\uff081 &#8211; 12\uff09<\/strong>\uff1acron\u30b8\u30e7\u30d6\u304c\u8d77\u52d5\u3059\u308b\u6708\u3002\u4f8b\u3048\u3070\u3001<code>6<\/code>\u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c6\u6708\u306b\u8d77\u52d5\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u66dc\u65e5\uff080 &#8211; 7\uff09<\/strong>\uff1acron\u30b8\u30e7\u30d6\u304c\u8d77\u52d5\u3059\u308b\u66dc\u65e5\u3002<code>0<\/code>\u3068<code>7<\/code>\u306f\u65e5\u66dc\u65e5\u3092\u8868\u3057\u3001<code>1<\/code>\u306f\u6708\u66dc\u65e5\u3092\u8868\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<code>4<\/code> \u306f\u6728\u66dc\u65e5\u3092\u8868\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u7279\u6b8a\u6587\u5b57<\/p>\n<ul>\n<li><code><strong>*<\/strong><\/code>\uff08\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\uff09\uff1a\u305d\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u3059\u3079\u3066\u306e\u5024\u306b\u30de\u30c3\u30c1\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5206\u30d5\u30a3\u30fc\u30eb\u30c9\u306b<code>*<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u6bce\u5206\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><code><strong>*\/n<\/strong><\/code>\uff08\u30b9\u30e9\u30c3\u30b7\u30e5\uff09\uff1a\u9593\u9694\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5206\u30d5\u30a3\u30fc\u30eb\u30c9\u306e<code>*\/5<\/code>\u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c5\u5206\u6bce\u306b\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><code><strong>,<\/strong><\/code>\uff08\u30ab\u30f3\u30de\uff09\uff1a\u8907\u6570\u306e\u7279\u5b9a\u306e\u5024\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5206\u30d5\u30a3\u30fc\u30eb\u30c9\u306e<code>1,15,30<\/code>\u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c1\u5206\u300115\u5206\u300130\u5206\u6bce\u306b\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><code><strong>-<\/strong><\/code>\uff08\u30cf\u30a4\u30d5\u30f3\uff09\uff1a\u5024\u306e\u7bc4\u56f2\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u66dc\u65e5\u30d5\u30a3\u30fc\u30eb\u30c9\u306e<code>1-5<\/code> \u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u6708\u66dc\u65e5\u304b\u3089\u91d1\u66dc\u65e5\uff081\uff5e5\uff09\u307e\u3067\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><code><strong>?<\/strong><\/code>\uff08\u30af\u30a8\u30b9\u30c1\u30e7\u30f3\u30de\u30fc\u30af\uff09\uff1a\u7279\u5b9a\u306e\u5024\u3092\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u4e00\u822c\u7684\u306b\u306f\u3001\u66dc\u65e5\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\uff08\u65e5\u4ed8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\uff09\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u66dc\u65e5\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u300c<code>?<\/code> \u300d\u3001\u65e5\u4ed8\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u300c<code>15<\/code> \u300d\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u66dc\u65e5\u306b\u95a2\u4fc2\u306a\u304f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u6bce\u670815\u65e5\u306b\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4>ESLint\u3067\u69cb\u6587\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308bCI\u30b8\u30e7\u30d6\u306e\u4f5c\u6210<\/h4>\n<p>CI\u30d7\u30ed\u30bb\u30b9\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u305f\u3081\u306b\u3001\u5fc5\u8981\u306a\u30b8\u30e7\u30d6\u3084\u30bf\u30b9\u30af\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u5404\u30b8\u30e7\u30d6\u306b\u306f\u308f\u304b\u308a\u3084\u3059\u3044\u540d\u524d\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002\u6700\u521d\u306e\u30b8\u30e7\u30d6\u306fESLint\u3092\u4f7f\u3063\u3066\u30b3\u30fc\u30c9\u306e\u69cb\u6587\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u306e\u3067\u3001<code>eslint<\/code>\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u4efb\u610f\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u4eba\u9593\u304c\u78ba\u8a8d\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u8aac\u660e\u3092\u52a0\u3048\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u6b21\u306b\u3001\u30b8\u30e7\u30d6\u306fUbuntu\u74b0\u5883\u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u30012\u3064\u306e<a href=\"https:\/\/kinsta.com\/jp\/topics\/node-js\/\">Node.js<\/a>\u306e\u30d0\u30fc\u30b8\u30e7\u30f3<code>18.x<\/code>\u3068<code>20.x<\/code>\u306b\u3064\u3044\u3066\u30b3\u30fc\u30c9\u3092\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">jobs:\n  eslint:\n    name: Check Syntax with ESLint\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [18.x, 20.x]<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u300cESLint\u300d\u30b8\u30e7\u30d6\u304c\u5b9f\u884c\u3059\u308b\u30b9\u30c6\u30c3\u30d7\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u5b9f\u969b\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u30b3\u30fc\u30c9\u306e\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3001ESLint\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u6307\u5b9a\u3057\u305fNode.js\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3001npm\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u305d\u3057\u3066\u6700\u5f8c\u306b\u30b3\u30fc\u30c9\u306e\u69cb\u6587\u3092\u78ba\u8a8d\u3059\u308bESLint\u306e\u5b9f\u884c\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">    steps:\n      - name: Checkout code\n        uses: actions\/checkout@v3\n\n      - name: Use Node.js ${{ matrix.node-version }} to Check Lint\n        uses: actions\/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n\n      - name: Install Dependencies\n        run: npm ci\n\n      - name: Run ESLint\n        run: npm run lint<\/code><\/pre>\n<p>\u4e0a\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3067\u306f\u3001GitHub Actions\u304b\u3089\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u78ba\u8a8d\u3059\u308b\u3068\u304d\u306b\u30a8\u30e9\u30fc\u3084\u30d0\u30b0\u306e\u539f\u56e0\u3092\u7279\u5b9a\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u5404\u30b9\u30c6\u30c3\u30d7\u306b\u540d\u524d\u3068\u8aac\u660e\u3092\u3064\u3051\u3066\u3044\u307e\u3059\u3002\u7279\u7b46\u3059\u3079\u304d\u306f\u30013\u756a\u76ee\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u3001<code>npm ci<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u3053\u308c\u306f\u3001<code>npm install<\/code>\u3088\u308a\u3082\u30af\u30ea\u30fc\u30f3\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u308b\u306e\u3067\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u6700\u5f8c\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001<code>npm run lint<\/code>\u3092\u4f7f\u3063\u3066ESLint\u3092\u5b9f\u884c\u3057\u307e\u3059\u304c\u3001<strong>package.json<\/strong>\u30d5\u30a1\u30a4\u30eb\u3067\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001ESLint\u3067\u30b3\u30fc\u30c9\u306e\u69cb\u6587\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u5168\u4f53\u50cf\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">jobs:\n  eslint:\n    name: Check Syntax with ESLint\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [18.x, 20.x]\n\n    steps:\n      - name: Checkout code\n        uses: actions\/checkout@v3\n\n      - name: Use Node.js ${{ matrix.node-version }} to Check Lint\n        uses: actions\/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n\n      - name: Install Dependencies\n        run: npm ci\n\n      - name: Run ESLint\n        run: npm run lint<\/code><\/pre>\n<h4>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308bCI\u30b8\u30e7\u30d6\u306e\u4f5c\u6210<\/h4>\n<p>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308bCI\u30b8\u30e7\u30d6\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u307e\u305a\u30b8\u30e7\u30d6\u3092\u5b9a\u7fa9\u3057\u3001<code>tests<\/code>\u306e\u3088\u3046\u306a\u308f\u304b\u308a\u3084\u3059\u3044\u540d\u524d\u3092\u3064\u3051\u307e\u3059\u3002\u3053\u306e\u30b8\u30e7\u30d6\u306f<code>eslint<\/code>\u30b8\u30e7\u30d6\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001<code>tests<\/code>\u30b8\u30e7\u30d6\u304c\u5b9f\u884c\u3055\u308c\u308b\u524d\u306b<code>eslint<\/code>\u30b8\u30e7\u30d6\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u4f9d\u5b58\u95a2\u4fc2\u306b\u3088\u308a\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u30b3\u30fc\u30c9\u306e\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">  tests:\n    name: Run Tests\n    needs: eslint\n    runs-on: ubuntu-latest<\/code><\/pre>\n<p>\u6b21\u306b\u3001<code>tests<\/code>\u30b8\u30e7\u30d6\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002 \u524d\u306e\u30b8\u30e7\u30d6\u3068\u540c\u69d8\u306b\u3001\u30b3\u30fc\u30c9\u3092\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306bNode.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f3<code>18.x<\/code>\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001<code>npm ci<\/code>\u3092\u4f7f\u3063\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001<code>npm run test<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">    steps:\n      - name: Checkout code\n        uses: actions\/checkout@v3\n\n      - name: Use Node.js 18.x to run Test\n        uses: actions\/setup-node@v3\n        with:\n          node-version: 18.x\n          cache: 'npm'\n\n      - name: Install Dependencies\n        run: npm ci\n\n      - name: Run Tests\n        run: npm run test<\/code><\/pre>\n<h4>Kinsta API\u3067\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3081\u306eCI\u30b8\u30e7\u30d6\u306e\u4f5c\u6210<\/h4>\n<p>Kinsta API\u3092\u4f7f\u7528\u3057\u3066Kinsta\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308bCI\u30b8\u30e7\u30d6\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u3001\u30b8\u30e7\u30d6\u3092\u5b9a\u7fa9\u3057\u3001\u540d\u524d\u3092<code>deploy<\/code>\u3068\u3057\u307e\u3059\u3002\u3053\u306e\u30b8\u30e7\u30d6\u306f\u3001<code>eslint<\/code>\u3001<code>tests<\/code>\u30b8\u30e7\u30d6\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30b3\u30fc\u30c9\u306e\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3001\u30c6\u30b9\u30c8\u306b\u5408\u683c\u3057\u305f\u5f8c\u306b\u306e\u307f\u30c7\u30d7\u30ed\u30a4\u304c\u5b9f\u884c\u3055\u308c\u308b\u69cb\u9020\u3067\u3059\u3002\u5229\u7528\u53ef\u80fd\u306a\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u3063\u3066<a href=\"https:\/\/kinsta.com\/blog\/check-ubuntu-version\/\">Ubuntu<\/a>\u74b0\u5883\u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u30b8\u30e7\u30d6\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">  deploy:\n    name: Re-Deploy Application\n    needs: [eslint, tests]\n    runs-on: ubuntu-latest<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u30b9\u30c6\u30c3\u30d7\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3053\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4ecb\u3057\u3066Kinsta API\u3068\u3084\u308a\u3068\u308a\u3057\u3001\u518d\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u305f\u3081\u306bcURL\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u7d9a\u3044\u3066\u306f\u3001Kinsta API\u306e\u57fa\u672c\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/api-endpoint\/\">API<\/a>\u3068\u3084\u308a\u53d6\u308a\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u69d8\u3005\u306a\u77e5\u8b58\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/kinsta-api-key\/\">API\u30ad\u30fc<\/a>\u306a\u3069\u306eAPI\u95a2\u9023\u60c5\u5831\u3092\u5b89\u5168\u306bGitHub\u3067\u53d6\u5f97\/\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u3092\u7406\u89e3\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>Kinsta API\u3092\u7406\u89e3\u3059\u308b<\/h2>\n<p><a href=\"https:\/\/kinsta.com\/jp\/changelog\/kinsta-api\/\">Kinsta API<\/a>\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4ecb\u3057\u3066Kinsta\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002API\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001MyKinsta\u3067\u5c11\u306a\u304f\u3068\u30821\u3064\u306eWordPress\u30b5\u30a4\u30c8\u3001<a href=\"https:\/\/sevalla.com\/application-hosting\/\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/a>\u3001\u307e\u305f\u306f<a href=\"https:\/\/sevalla.com\/database-hosting\/\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/a>\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6240\u6709\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001API\u3092\u901a\u3057\u3066\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u8a8d\u8a3c\u3057\u3001\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306bAPI\u30ad\u30fc\u306e\u751f\u6210\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002API\u30ad\u30fc\u3092\u751f\u6210\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol start=\"1\">\n<li>MyKinsta\u306b\u30ed\u30b0\u30a4\u30f3<\/li>\n<li>\u300c<strong>API\u30ad\u30fc<\/strong>\u300d\u30da\u30fc\u30b8\u306b\u79fb\u52d5\uff08\uff08<strong>\u30a2\u30ab\u30a6\u30f3\u30c8\u540d<\/strong>\uff09\uff1e\u300c<strong>\u4f01\u696d\u306e\u8a2d\u5b9a<\/strong>\u300d\uff1e\u300c<strong>API\u30ad\u30fc<\/strong>\u300d\uff09<\/li>\n<li>\u300c<strong>API\u30ad\u30fc\u3092\u4f5c\u6210<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<li>\u6709\u52b9\u671f\u9650\u3092\u9078\u629e\u3059\u308b\u304b\u30ab\u30b9\u30bf\u30e0\u3067\u6307\u5b9a<\/li>\n<li>\u30ad\u30fc\u306b\u4e00\u610f\u306e\u540d\u524d\u3092\u4ed8\u3051\u308b<\/li>\n<li>\u300c<strong>\u751f\u6210<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<\/ol>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/create-api-key-on-mykinsta.jpg\" alt=\"MyKinsta\u3067API\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b\" width=\"1600\" height=\"360\"><figcaption class=\"wp-caption-text\">MyKinsta\u3067API\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b<\/figcaption><\/figure>\n<p>API\u30ad\u30fc\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u30b3\u30d4\u30fc\u3057\u3066\u5b89\u5168\u306a\u5834\u6240\u306b\u4fdd\u7ba1\u3057\u3066\u304f\u3060\u3055\u3044\uff08<a href=\"https:\/\/kinsta.com\/jp\/blog\/password-managers\/\">\u30d1\u30b9\u30ef\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3<\/a>\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\uff09\u3002<strong>\u4f5c\u6210\u6642\u306b\u3057\u304b\u8868\u793a\u3055\u308c\u307e\u305b\u3093<\/strong>\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Kinsta API\u3067\u30c7\u30d7\u30ed\u30a4\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>API\u3092\u4f7f\u7528\u3057\u3066Kinsta\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u306b\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3ID\u3068\u30d6\u30e9\u30f3\u30c1\u3068\u3044\u30462\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u5fc5\u8981\u3067\u3059\u3002\u307e\u305a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eID\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001API\u306e<a href=\"https:\/\/api-docs.kinsta.com\/tag\/Application-Deployments#operation\/manualDeployApplication\" target=\"_blank\" rel=\"noopener noreferrer\">\/applications\/deployments<\/a>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b<a href=\"https:\/\/kinsta.com\/jp\/blog\/javascript-http-request\/\">POST\u30ea\u30af\u30a8\u30b9\u30c8<\/a>\u3092\u884c\u3044\u307e\u3059\u3002CI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u306f\u3001URL\u3068\u3084\u308a\u3068\u308a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3067\u3042\u308bcURL\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">curl -i -X POST \n  https:\/\/api.kinsta.com\/v2\/applications\/deployments \n  -H 'Authorization: Bearer &lt;YOUR_TOKEN_HERE&gt;' \n  -H 'Content-Type: application\/json' \n  -d '{\n    \"app_id\": \"&lt;YOUR_APP_ID&gt;\",\n    \"branch\": \"main\"\n  }'<\/code><\/pre>\n<h2>CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067cURL\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b<\/h2>\n<p>Kinsta API\u3067\u30c7\u30d7\u30ed\u30a4\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u306b\u306f\u3001CI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e<code>run<\/code>\u30b3\u30de\u30f3\u30c9\u306bcURL\u30b3\u30de\u30f3\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001API\u30ad\u30fc\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3ID\u3092\u5b89\u5168\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/github-actions-secret\/\">\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\uff08Secrets\uff09\u3092GitHub\u306b\u4fdd\u5b58<\/a>\u3057GitHub Actions\u3067\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol start=\"1\">\n<li>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u79fb\u52d5<\/li>\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c<strong>Settings<\/strong>\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<li>\u5de6\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u300c<strong>Options<\/strong>\u300d\u30ab\u30c6\u30b4\u30ea\u3067\u300c<strong>Secrets<\/strong>\u300d\u3092\u9078\u629e<\/li>\n<li>\u300c<strong>New repository secret<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<li>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u306e\u540d\u524d\uff08<code>KINSTA_API_KEY<\/code>\u306e\u3088\u3046\u306a\u3082\u306e\uff09\u3092\u5165\u529b\u3057\u3001\u300c<strong>Value<\/strong>\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u306bKinsta API\u30ad\u30fc\u3092\u5165\u529b<\/li>\n<li>\u540d\u524d\u3068\u5024\u3092\u5165\u529b\u3057\u305f\u3089\u3001\u300c<strong>Add secret<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u4fdd\u5b58<\/li>\n<li>\u4ed6\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3067\u3082\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u7e70\u308a\u8fd4\u3059<\/li>\n<\/ol>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/storing-secrets-on-github.jpg\" alt=\"GitHub\u306b\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u4fdd\u5b58\" width=\"1600\" height=\"360\"><figcaption class=\"wp-caption-text\">GitHub\u306b\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u4fdd\u5b58<\/figcaption><\/figure>\n<p>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001<code>${{ secrets.SECRET_NAME }}<\/code>\u3068\u3044\u3046\u69cb\u6587\u3092\u4f7f\u3063\u3066 GitHub Actions\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3067\u53c2\u7167\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001GitHub Actions CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e<code>deploy<\/code>\u30b8\u30e7\u30d6\u3092\u5b8c\u6210\u3055\u305b\u307e\u3057\u3087\u3046\u3002\u5148\u307b\u3069\u3068\u540c\u3058\u3088\u3046\u306b\u30b9\u30c6\u30c3\u30d7\u3092\u5b9a\u7fa9\u3057\u3001Kinsta \u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u30b9\u30c6\u30c3\u30d7\u3092\u3072\u3068\u3064\u8ffd\u52a0\u3057\u307e\u3059\u3002\u307e\u305a\u3001<code>env<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u5b9a\u7fa9\u3057\u3001\u30c7\u30d7\u30ed\u30a4\u3092\u5b9f\u884c\u3059\u308bcURL\u30b3\u30de\u30f3\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">    steps:\n      - name: Deploy to Kinsta\n        env:\n          KINSTA_API_KEY: ${{ secrets.KINSTA_API_KEY }}\n          APP_ID: ${{ secrets.APP_ID }}\n        run: |\n          curl -i -X POST \n            https:\/\/api.kinsta.com\/v2\/applications\/deployments \n            -H \"Authorization: Bearer $KINSTA_API_KEY\" \n            -H \"Content-Type: application\/json\" \n            -d '{\n              \"app_id\": \"'\"$APP_ID\"'\",\n              \"branch\": \"main\"\n            }'<\/code><\/pre>\n<p>cURL\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001\u74b0\u5883\u5909\u6570\u304c\u30b3\u30de\u30f3\u30c9\u5185\u306b\u8ffd\u52a0\u3055\u308c\u3001\u30c7\u30d7\u30ed\u30a4\u30d7\u30ed\u30bb\u30b9\u4e2d\u306b\u5b89\u5168\u306b\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>\u3053\u306e<code>deploy<\/code>CI\u30b8\u30e7\u30d6\u306f\u3001Kinsta API\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u884c\u3059\u308b\u8a2d\u8a08\u3067\u3059\u3002\u5b9f\u969b\u306e\u30c7\u30d7\u30ed\u30a4\u30d7\u30ed\u30bb\u30b9\u3067\u554f\u984c\u3084\u5931\u6557\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u6210\u529f\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u5fdc\u7b54\u304c\u3001\u305d\u306e\u5b8c\u4e86\u3084\u30b9\u30c6\u30fc\u30bf\u30b9\u3067\u306f\u306a\u304f\u3001\u30c7\u30d7\u30ed\u30a4\u64cd\u4f5c\u306e\u958b\u59cb\u306b\u57fa\u3065\u3044\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<\/aside>\n\n<p>\u6700\u7d42\u7684\u306aCI\/CD\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-yaml\">name: Build, Test, and Deploy\n\non:\n  push:\n    branches: \"main\"\n  pull_request:\n    branches: \"main\"\n\njobs:\n  eslint:\n    name: Check Syntax with ESLint\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [18.x, 20.x]\n\n    steps:\n      - name: Checkout code\n        uses: actions\/checkout@v3\n        \n      - name: Use Node.js ${{ matrix.node-version }} to Check Lint\n        uses: actions\/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n          \n      - name: Install Dependencies\n        run: npm ci\n        \n      - name: Run ESLint\n        run: npm run lint\n\n  tests:\n    name: Run Tests\n    needs: eslint\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions\/checkout@v3\n        \n      - name: Use Node.js 18.x to run Test\n        uses: actions\/setup-node@v3\n        with:\n          node-version: 18.x\n          cache: 'npm'\n          \n      - name: Install Dependencies\n        run: npm ci\n        \n      - name: Run Tests\n        run: npm run test\n\n  deploy:\n    name: Re-Deploy Application\n    needs: [eslint, tests]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Deploy to Kinsta\n        env:\n          KINSTA_API_KEY: ${{ secrets.KINSTA_API_KEY }}\n          APP_ID: ${{ secrets.APP_ID }}\n        run: |\n          curl -i -X POST \n            https:\/\/api.kinsta.com\/v2\/applications\/deployments \n            -H \"Authorization: Bearer $KINSTA_API_KEY\" \n            -H \"Content-Type: application\/json\" \n            -d '{\n              \"app_id\": \"'\"$APP_ID\"'\",\n              \"branch\": \"main\"\n            }'<\/code><\/pre>\n<p>\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u30b3\u30d4\u30fc\u3057\u3001<strong>build-test-deploy.yml<\/strong>\u30d5\u30a1\u30a4\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u6b21\u306b\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u306b\u8ffd\u52a0\u3059\u308b\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u3053\u306e\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u3067\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u30c8\u30ea\u30ac\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u52a0\u3048\u3089\u308c\u305f\u5909\u66f4\u5185\u5bb9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u65b0\u3057\u3044\u5909\u66f4\u5185\u5bb9\u304c\u6307\u5b9a\u306e\u30c1\u30a7\u30c3\u30af\u9805\u76ee\u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u4e0a\u3067\u3001\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u306b\u30de\u30fc\u30b8\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6c7a\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/storing-secrets-on-github.jpg\" alt=\"GitHub\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\" width=\"1600\" height=\"360\"><figcaption class=\"wp-caption-text\">GitHub\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8<\/figcaption><\/figure>\n<p>\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30de\u30fc\u30b8\u3059\u308bGitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u300c<strong>Actions<\/strong>\u300d\u30bf\u30d6\u306b\u79fb\u52d5\u3059\u308b\u3068\u3001CI\/CD\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/github-actions-summary.jpg\" alt=\"GitHub Actions\u306e\u6982\u8981\u3092\u78ba\u8a8d\u3059\u308b\" width=\"1600\" height=\"360\"><figcaption class=\"wp-caption-text\">GitHub Actions\u306e\u6982\u8981\u3092\u78ba\u8a8d\u3059\u308b<\/figcaption><\/figure>\n<p>\u5404\u30b8\u30e7\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u305d\u306e\u30b8\u30e7\u30d6\u306e\u4e2d\u8eab\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u30b8\u30e7\u30d6\u306e\u5404\u30b9\u30c6\u30c3\u30d7\u306b\u7406\u89e3\u3067\u304d\u308b\u8aac\u660e\u3092\u3064\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u306f\u3053\u306e\u305f\u3081\u3067\u3059\uff09\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/ci-steps-details.jpg\" alt=\"CI\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\" width=\"1600\" height=\"360\"><figcaption class=\"wp-caption-text\">CI\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u3064\u3044\u3066\u306e\u60c5\u5831<\/figcaption><\/figure>\n<h2>GitHub\u3067\u306e\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u5f37\u5236<\/h2>\n<p>GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u52b9\u679c\u7684\u306a\u30b3\u30fc\u30c9\u7ba1\u7406\u3068\u5171\u540c\u4f5c\u696d\u3092\u884c\u3046\u306b\u306f\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5f37\u5236\u3057\u3066\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u3078\u306e\u76f4\u63a5\u30b3\u30df\u30c3\u30c8\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u306e\u304c\u6709\u52b9\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u7d44\u7e54\u7684\u306a\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u7acb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u5909\u66f4\u5185\u5bb9\u304c\u3001\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3059\u308b\u524d\u306b\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u30ec\u30d3\u30e5\u30fc\u3092\u53d7\u3051\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u30c1\u30fc\u30e0\u306b\u3088\u308b\u30b3\u30fc\u30c9\u306e\u8cea\u5411\u4e0a\u3001\u30d0\u30b0\u3092\u5f15\u304d\u8d77\u3053\u3059\u30ea\u30b9\u30af\u306e\u6700\u5c0f\u5316\u3001\u5909\u66f4\u5c65\u6b74\u306b\u304a\u3051\u308b\u900f\u660e\u6027\u306e\u7dad\u6301\u304c\u5bb9\u6613\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u5b9f\u65bd\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<ol start=\"1\">\n<li>GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u300c<strong>Settings<\/strong>\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<li>\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u300c<strong>Code and Automation<\/strong>\u300d\u306b\u3042\u308b\u300c<strong>Branches<\/strong>\u300d\u3092\u9078\u629e<\/li>\n<li>\u30eb\u30fc\u30eb\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u300c<strong>Add branch protection rule<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<li>\u30eb\u30fc\u30eb\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u3001\u300c<strong>Require a pull request before merging<\/strong>\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u308b\uff08\u3053\u308c\u3067\u3001\u8a2d\u5b9a\u306e\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3055\u3089\u306b\u8868\u793a\u3055\u308c\u307e\u3059\uff09<\/li>\n<li>\u307e\u305f\u300c<strong>Require status checks to pass before merging<\/strong>\u300d\u306b\u3082\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u308b<\/li>\n<li>\u597d\u307f\u3084\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u3001\u305d\u306e\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/li>\n<li>\u300c<strong>Create<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30eb\u30fc\u30eb\u3092\u4fdd\u5b58<\/li>\n<\/ol>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/enforcing-pull-request-workflow-on-github.jpg\" alt=\"GitHub\u3067\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5b9f\u65bd\u3059\u308b\" width=\"1600\" height=\"360\"><figcaption class=\"wp-caption-text\">GitHub\u3067\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5b9f\u65bd\u3059\u308b<\/figcaption><\/figure>\n<p>\u4ee5\u4e0a\u306e\u624b\u9806\u3067\u3001GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5f37\u5236\u3059\u308b\u30eb\u30fc\u30eb\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u3001\u3059\u3079\u3066\u306e\u5909\u66f4\u304c\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3055\u308c\u308b\u524d\u306b\u30ec\u30d3\u30e5\u30fc\u3068\u81ea\u52d5\u30c1\u30a7\u30c3\u30af\u3092\u7d4c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u5171\u540c\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>GitHub Actions\u3068Kinsta API\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5408\u7406\u5316\u3057\u3001\u958b\u767a\u30c1\u30fc\u30e0\u306e\u8ca0\u62c5\u3092\u8efd\u6e1b\u3059\u308b\u52b9\u7387\u7684\u306a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u672c\u756a\u74b0\u5883\u3078\u306e\u5230\u9054\u524d\u306b\u5fb9\u5e95\u7684\u306a\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001\u958b\u767a\u30c1\u30fc\u30e0\u306e\u30e1\u30f3\u30d0\u30fc\u306f\u5b89\u5fc3\u3057\u3066\u30b3\u30fc\u30c9\u306e\u6295\u7a3f\u3092\u884c\u3048\u308b\u306f\u305a\u3067\u3059\u3002\u305d\u306e\u4ed6\u5229\u5bb3\u95a2\u4fc2\u8005\u306b\u3068\u3063\u3066\u3082\u3001\u30c7\u30d7\u30ed\u30a4\u30d7\u30ed\u30bb\u30b9\u304c\u9069\u5207\u306b\u7ba1\u7406\u3055\u308c\u308b\uff08\u30a8\u30e9\u30fc\u306b\u5f37\u3044\u74b0\u5883\uff09\u306e\u306f\u5b09\u3057\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306fKinsta API\u3092\u3069\u306e\u3088\u3046\u306b\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1fAPI\u306b\u8ffd\u52a0\u3057\u3066\u307b\u3057\u3044\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u3042\u308a\u307e\u3059\u304b\uff1fKinsta API\u95a2\u9023\u306e\u3069\u3093\u306a\u89e3\u8aac\u3092\u3054\u5e0c\u671b\u3067\u3059\u304b\uff1f\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5909\u5316\u306e\u6fc0\u3057\u3044\u30a6\u30a7\u30d6\u958b\u767a\u306e\u4e16\u754c\u3067\u3001\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7 &#8230;<\/p>\n","protected":false},"author":287,"featured_media":49107,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[751,770],"class_list":["post-49106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","topic-api","topic-git"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5<\/title>\n<meta name=\"description\" content=\"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-21T13:11:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T12:40:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joel Olawanle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png\" \/>\n<meta name=\"twitter:creator\" content=\"@olawanle_joel\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joel Olawanle\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/\"},\"author\":{\"name\":\"Joel Olawanle\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07\"},\"headline\":\"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\",\"datePublished\":\"2023-08-21T13:11:57+00:00\",\"dateModified\":\"2023-08-29T12:40:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/\"},\"wordCount\":307,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/\",\"name\":\"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png\",\"datePublished\":\"2023-08-21T13:11:57+00:00\",\"dateModified\":\"2023-08-29T12:40:17+00:00\",\"description\":\"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/api\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07\",\"name\":\"Joel Olawanle\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g\",\"caption\":\"Joel Olawanle\"},\"description\":\"Joel is a Frontend developer working at Kinsta as a Technical Editor. He is a passionate teacher with love for open source and has written over 300 technical articles majorly around JavaScript and it's frameworks.\",\"sameAs\":[\"https:\/\/joelolawanle.com\/\",\"https:\/\/www.linkedin.com\/in\/olawanlejoel\/\",\"https:\/\/x.com\/olawanle_joel\",\"https:\/\/www.youtube.com\/@joelolawanle\"],\"gender\":\"male\",\"knowsAbout\":[\"JavaScript\",\"React\",\"Next.js\"],\"knowsLanguage\":[\"English\"],\"jobTitle\":\"Technical Editor\",\"worksFor\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/joelolawanle\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5","description":"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","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:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/","og_locale":"ja_JP","og_type":"article","og_title":"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5","og_description":"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2023-08-21T13:11:57+00:00","article_modified_time":"2023-08-29T12:40:17+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png","type":"image\/png"}],"author":"Joel Olawanle","twitter_card":"summary_large_image","twitter_description":"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png","twitter_creator":"@olawanle_joel","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Joel Olawanle","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/"},"author":{"name":"Joel Olawanle","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07"},"headline":"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5","datePublished":"2023-08-21T13:11:57+00:00","dateModified":"2023-08-29T12:40:17+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/"},"wordCount":307,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/","url":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/","name":"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png","datePublished":"2023-08-21T13:11:57+00:00","dateModified":"2023-08-29T12:40:17+00:00","description":"GitHub Actions\u3092\u4f7f\u3063\u3066\u4fbf\u5229\u306aCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u52b9\u7387\u7684\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001Kinsta API\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3059\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/08\/cd-pipeline-with-github-actions-and-kinsta-api.png","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/how-to-setup-ci-cd-pipeline\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/kinsta.com\/jp\/topics\/api\/"},{"@type":"ListItem","position":3,"name":"GitHub Actions\u3068Kinsta API\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07","name":"Joel Olawanle","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g","caption":"Joel Olawanle"},"description":"Joel is a Frontend developer working at Kinsta as a Technical Editor. He is a passionate teacher with love for open source and has written over 300 technical articles majorly around JavaScript and it's frameworks.","sameAs":["https:\/\/joelolawanle.com\/","https:\/\/www.linkedin.com\/in\/olawanlejoel\/","https:\/\/x.com\/olawanle_joel","https:\/\/www.youtube.com\/@joelolawanle"],"gender":"male","knowsAbout":["JavaScript","React","Next.js"],"knowsLanguage":["English"],"jobTitle":"Technical Editor","worksFor":"Kinsta","url":"https:\/\/kinsta.com\/jp\/blog\/author\/joelolawanle\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/49106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/287"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=49106"}],"version-history":[{"count":12,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/49106\/revisions"}],"predecessor-version":[{"id":49286,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/49106\/revisions\/49286"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/jp"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/es"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/translations\/nl"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49106\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/49107"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=49106"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=49106"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=49106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}