{"id":12765,"date":"2026-08-30T16:30:18","date_gmt":"2026-08-30T07:30:18","guid":{"rendered":"https:\/\/www.webcyou.com\/?p=12765"},"modified":"2026-08-30T16:30:19","modified_gmt":"2026-08-30T07:30:19","slug":"%e3%80%90railway%e3%80%91github-actions-%e3%81%a7%e5%ae%9a%e6%9c%9f%e7%9a%84%e3%81%ab%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%82%92%e3%83%aa%e3%82%b9%e3%82%bf%e3%83%bc%e3%83%88%e3%81%95%e3%81%9b","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=12765","title":{"rendered":"\u3010Railway\u3011GitHub Actions \u3067\u5b9a\u671f\u7684\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u30ea\u30b9\u30bf\u30fc\u30c8\u3055\u305b\u308b"},"content":{"rendered":"\n<p>\u3069\u3082\u3067\u3059\u3002<\/p>\n<p>\u524d\u56de\u300c<a href=\"https:\/\/www.webcyou.com\/?p=12605\">\u3072\u305f\u3059\u3089\u5b89\u304f\u500b\u4eba\u958b\u767a\u30b5\u30fc\u30d3\u30b9\u3092\u904b\u7528\u3059\u308b\u8a08\u753b<\/a>\u300d\u3068\u306e\u3053\u3068\u3067\u8a18\u4e8b\u3092\u66f8\u304b\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u304c\u3001\u3057\u3070\u3089\u304f\u52d5\u304b\u3057\u3066\u3044\u308b\u3068\u300c\u305d\u3046\u3044\u3048\u3070\u5b9a\u671f\u7684\u306b\u518d\u8d77\u52d5\u304b\u3051\u3066\u304a\u304d\u305f\u3044\u306a\u3041\u300d\u3068\u3044\u3046\u6c17\u6301\u3061\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u3066\u3002<\/p>\n<p>\u9577\u6642\u9593\u52d5\u304b\u3057\u3063\u3071\u306a\u3057\u306b\u3057\u3066\u3044\u308b\u3068\u3001\u307e\u3041\u8272\u3005\u3068\u6e9c\u307e\u3063\u3066\u304f\u308b\u3082\u306e\u304c\u3042\u308b\u308f\u3051\u3067\u3059\u3002\u3060\u3063\u305f\u3089\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b\u4e00\u56de\u30b5\u30c3\u3068\u518d\u8d77\u52d5\u3057\u3066\u304a\u3051\u3070\u826f\u3044\u306e\u3067\u306f\u3001\u3068\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u305d\u306e\u300cRailway \u306e\u30b5\u30fc\u30d3\u30b9\u3092\u5b9a\u671f\u7684\u306b\u30ea\u30b9\u30bf\u30fc\u30c8\u3055\u305b\u308b\u300d\u4ed5\u7d44\u307f\u3092 GitHub Actions \u3067\u7d44\u3093\u3060\u306e\u3067\u3001\u305d\u306e\u5185\u5bb9\u3092\u307e\u3068\u3081\u305f\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4>\u3084\u308a\u305f\u304b\u3063\u305f\u3053\u3068<\/h4>\n<ul>\n<li>Railway \u4e0a\u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u3001\u6bce\u65e5\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b\u81ea\u52d5\u3067\u30ea\u30b9\u30bf\u30fc\u30c8\u3055\u305b\u305f\u3044<\/li>\n<li>Railway \u5074\u3060\u3051\u3067\u5b8c\u7d50\u3059\u308b\u5b9a\u671f\u5b9f\u884c\u306e\u4ed5\u7d44\u307f\u306f\u7528\u610f\u3057\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u5916\u304b\u3089\u53e9\u304f\u5f62\u306b\u3059\u308b<\/li>\n<li>\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u624b\u52d5\u3067\u3082\u30dd\u30c1\u30c3\u3068\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u305f\u3044<\/li>\n<\/ul>\n<p>\u305d\u3053\u3067\u767d\u7fbd\u306e\u77e2\u304c\u7acb\u3063\u305f\u306e\u304c GitHub Actions \u3067\u3059\u3002cron \u3067\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u5b9f\u884c\u3067\u304d\u307e\u3059\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3055\u3048\u3042\u308c\u3070\u3059\u3050\u52d5\u304b\u305b\u308b\u306e\u3067\u3001\u3053\u306e\u624b\u306e\u300c\u305f\u307e\u306b\u53e9\u304f\u3060\u3051\u300d\u306e\u7528\u9014\u306b\u306f\u30d4\u30c3\u30bf\u30ea\u306a\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n<h4>\u65b9\u91dd\u306f\u300cGitHub Actions \u304b\u3089 Railway CLI \u3092\u53e9\u304f\u300d<\/h4>\n<p>\u3084\u308b\u3053\u3068\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3001Actions \u306e\u30e9\u30f3\u30ca\u30fc\u4e0a\u306b Railway CLI \u3092\u5165\u308c\u3066\u3001<code>railway restart<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">npm install -g @railway\/cli<\/pre>\n<p>\u3042\u3068\u306f\u5bfe\u8c61\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30fb\u74b0\u5883\u30fb\u30b5\u30fc\u30d3\u30b9\u3092\u6307\u5b9a\u3057\u3066\u30ea\u30b9\u30bf\u30fc\u30c8\u3092\u6295\u3052\u308c\u3070\u826f\u3044\u3001\u3068\u3044\u3046\u8a71\u2026\u2026\u306e\u306f\u305a\u3060\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u4e00\u3064\u30cf\u30de\u308a\u30dd\u30a4\u30f3\u30c8\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<h4>\u30cf\u30de\u3063\u305f\u3068\u3053\u308d\uff1a\u6210\u529f\u3057\u3066\u3082 CLI \u304c\u7d42\u4e86\u3057\u306a\u3044<\/h4>\n<p>\u3053\u308c\u304c\u306a\u304b\u306a\u304b\u5384\u4ecb\u3067\u3057\u3066\u3002<\/p>\n<p><code>railway restart<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ea\u30b9\u30bf\u30fc\u30c8\u81ea\u4f53\u306f\u3061\u3083\u3093\u3068\u6210\u529f\u3059\u308b\u3093\u3067\u3059\u3002\u6210\u529f\u3059\u308b\u3093\u3067\u3059\u304c\u3001<strong>\u305d\u306e\u5f8c CLI \u304c\u63a5\u7d9a\u3092\u63b4\u3093\u3060\u307e\u307e exit \u3057\u3066\u304f\u308c\u306a\u3044<\/strong>\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n<p>Actions \u5074\u304b\u3089\u3059\u308b\u3068\u300c\u307e\u3060\u51e6\u7406\u304c\u7d42\u308f\u3063\u3066\u3044\u306a\u3044\u300d\u3088\u3046\u306b\u3057\u304b\u898b\u3048\u306a\u3044\u306e\u3067\u3001\u30b8\u30e7\u30d6\u304c\u305a\u30fc\u3063\u3068\u56de\u308a\u3063\u3071\u306a\u3057\u306b\u306a\u308b\u308f\u3051\u3067\u3059\u3002\u3044\u304b\u3041\u30fc\u3093\u3002GitHub Actions \u306f\u5b9f\u884c\u6642\u9593\u304c\u8ab2\u91d1\u5bfe\u8c61\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u653e\u7f6e\u3059\u308b\u3068\u30b8\u30ef\u30b8\u30ef\u3068\u30b3\u30b9\u30c8\u304c\u6eb6\u3051\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u6b21\u306e\u4e8c\u6bb5\u69cb\u3048\u3067\u5bfe\u51e6\u3057\u307e\u3057\u305f\u3002<\/p>\n<ol>\n<li><code>timeout 60<\/code> \u3067 CLI \u3092\u5f37\u5236\u7684\u306b\u6253\u3061\u5207\u308b<\/li>\n<li>\u6253\u3061\u5207\u3089\u308c\u305f\u3068\u304d\u306e\u7d42\u4e86\u30b3\u30fc\u30c9 <code>124<\/code> \u306f\u300c\u6210\u529f\u6271\u3044\u300d\u306b\u3059\u308b<\/li>\n<\/ol>\n<p><code>timeout<\/code> \u30b3\u30de\u30f3\u30c9\u306f\u3001\u5bfe\u8c61\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6642\u9593\u5207\u308c\u3067\u7d42\u308f\u3089\u305b\u305f\u3068\u304d\u306b\u7d42\u4e86\u30b3\u30fc\u30c9 <code>124<\/code> \u3092\u8fd4\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u300c\u30ea\u30b9\u30bf\u30fc\u30c8\u81ea\u4f53\u306f\u3082\u3046\u6210\u529f\u3057\u3066\u3044\u308b\u300d\u524d\u63d0\u306a\u306e\u3067\u3001<code>|| [ $? -eq 124 ]<\/code> \u3068\u66f8\u3044\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3067\u843d\u3061\u3066\u3082\u30b8\u30e7\u30d6\u5168\u4f53\u306f\u6210\u529f\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3061\u3087\u3063\u3068\u5f37\u5f15\u306b\u898b\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001<code>restart<\/code> \u306f\u6295\u3052\u305f\u6642\u70b9\u3067\u4ed5\u4e8b\u304c\u7d42\u308f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3067\u5341\u5206\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u4fdd\u967a\u3068\u3057\u3066\u3001\u30b8\u30e7\u30d6\u5168\u4f53\u306b\u3082 <code>timeout-minutes<\/code> \u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u30cf\u30f3\u30b0\u3057\u305f\u3068\u304d\u306b Action \u306e\u5b9f\u884c\u6642\u9593\uff08\uff1d\u30b3\u30b9\u30c8\uff09\u304c\u66b4\u8d70\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u5b89\u5168\u5f01\u3067\u3059\u306d\u3002\u3053\u3053\u306f\u4ed8\u3051\u3066\u304a\u3051\u3070\u5b89\u5fc3\u611f\u304c\u307e\u308b\u3067\u9055\u3044\u307e\u3059\u3002<\/p>\n<h4>\u5b9f\u969b\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc<\/h4>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u6700\u7d42\u7684\u306b\u51fa\u6765\u4e0a\u304c\u3063\u305f\u306e\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<code>.github\/workflows\/<\/code> \u914d\u4e0b\u306b\u7f6e\u3044\u3066\u3042\u3052\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">name: Daily Railway Restart\n\non:\n  schedule:\n    # \u6bce\u65e5\u65e5\u672c\u6642\u9593\u306e\u5348\u524d5\u6642\uff08UTC 20:00\uff09\u306b\u5b9f\u884c\u3059\u308b\u5834\u5408\n    - cron: '0 20 * * *'\n  workflow_dispatch: # \u624b\u52d5\u5b9f\u884c\u3082\u53ef\u80fd\u306b\u3059\u308b\u5834\u5408\n\njobs:\n  restart:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5 # \u30cf\u30f3\u30b0\u6642\u306e Action \u5206\uff08\u30b3\u30b9\u30c8\uff09\u66b4\u8d70\u3092\u9632\u3050\u5b89\u5168\u5f01\n    steps:\n      - name: Install Railway CLI\n        run: npm install -g @railway\/cli\n\n      - name: Restart Railway Service\n        timeout-minutes: 2\n        # restart \u6210\u529f\u5f8c\u3082 CLI \u304c\u63a5\u7d9a\u3092\u63b4\u3093\u3067 exit \u3057\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\n        # timeout \u3067\u5f37\u5236\u7d42\u4e86\u3057\u3064\u3064\u300c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u306f\u6210\u529f\u6271\u3044\u300d\u306b\u3059\u308b\n        run: |\n          timeout 60 railway restart --yes \\\n            --project &lt;your-project-id&gt; \\\n            --environment &lt;your-environment&gt; \\\n            --service &lt;your-service-name&gt; \\\n          || [ $? -eq 124 ]\n        env:\n          RAILWAY_API_TOKEN: ${{ secrets.RAILWAY_API_TOKEN }}<\/pre>\n<p><code>&lt;your-project-id&gt;<\/code> \u306a\u3069\u306e\u7b87\u6240\u306f\u3001\u3054\u81ea\u8eab\u306e\u74b0\u5883\u306e\u5024\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u8a73\u3057\u304f\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<h4>\u5404\u30d1\u30fc\u30c8\u306e\u88dc\u8db3<\/h4>\n<h5>\u5b9f\u884c\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb<\/h5>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">on:\n  schedule:\n    - cron: '0 20 * * *'\n  workflow_dispatch:<\/pre>\n<p>GitHub Actions \u306e cron \u306f <strong>UTC \u57fa\u6e96<\/strong>\u306a\u306e\u3067\u3001\u65e5\u672c\u6642\u9593\u3067\u8003\u3048\u308b\u3068\u304d\u306f 9 \u6642\u9593\u30ba\u30e9\u3057\u3066\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3001\u5730\u5473\u306b\u9593\u9055\u3048\u3084\u3059\u3044\u3068\u3053\u308d\u306a\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306f\u65e5\u672c\u6642\u9593\u306e\u5348\u524d5\u6642\u306b\u8d70\u3089\u305b\u305f\u304b\u3063\u305f\u306e\u3067\u3001UTC \u3067\u306f\u524d\u65e5\u306e 20:00\u3001\u3064\u307e\u308a <code>0 20 * * *<\/code> \u3068\u3044\u3046\u6307\u5b9a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code>workflow_dispatch<\/code> \u3092\u4e26\u3079\u3066\u66f8\u3044\u3066\u304a\u304f\u3068\u3001GitHub \u306e Actions \u753b\u9762\u304b\u3089\u624b\u52d5\u3067\u3082\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u52d5\u4f5c\u78ba\u8a8d\u306e\u3068\u304d\u306b\u6bce\u56de cron \u306e\u6642\u9593\u3092\u5f85\u3064\u306e\u306f\u3055\u3059\u304c\u306b\u53b3\u3057\u3044\u306e\u3067\u3001\u3053\u308c\u306f\u5165\u308c\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h5>\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u5468\u308a<\/h5>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">    timeout-minutes: 5<\/pre>\n<p>\u30b8\u30e7\u30d6\u5168\u4f53\u306e\u4e0a\u9650\u3002\u524d\u8ff0\u306e\u901a\u308a\u3001\u3053\u308c\u304c\u66b4\u8d70\u9632\u6b62\u306e\u5b89\u5168\u5f01\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">        timeout-minutes: 2<\/pre>\n<p>\u3053\u3061\u3089\u306f\u30b9\u30c6\u30c3\u30d7\u5358\u4f4d\u306e\u4e0a\u9650\u3002<code>timeout 60<\/code> \u3067 CLI \u3092\u5207\u3063\u3066\u3044\u308b\u306e\u3067\u901a\u5e38\u306f\u305d\u3053\u3067\u7d42\u308f\u308a\u307e\u3059\u304c\u3001\u5ff5\u306e\u305f\u3081\u3082\u3046\u4e00\u679a\u91cd\u306d\u3066\u3044\u308b\u5f62\u3067\u3059\u3002<\/p>\n<h5>\u30ea\u30b9\u30bf\u30fc\u30c8\u306e\u6307\u5b9a<\/h5>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">timeout 60 railway restart --yes \\\n  --project &lt;your-project-id&gt; \\\n  --environment &lt;your-environment&gt; \\\n  --service &lt;your-service-name&gt; \\\n|| [ $? -eq 124 ]<\/pre>\n<ul>\n<li><code>--yes<\/code> \u2026 \u78ba\u8a8d\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002CI \u3067\u306f\u5bfe\u8a71\u3067\u304d\u306a\u3044\u306e\u3067\u5fc5\u9808\u3067\u3059<\/li>\n<li><code>--project<\/code> \u2026 \u5bfe\u8c61\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e ID\u3002Railway \u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 URL \u306b\u542b\u307e\u308c\u308b UUID \u304c\u305d\u308c\u3067\u3059<\/li>\n<li><code>--environment<\/code> \u2026 \u74b0\u5883\u540d\u3002<code>production<\/code> \u3084 <code>staging<\/code> \u306a\u3069\u3001\u3054\u81ea\u8eab\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u74b0\u5883\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059<\/li>\n<li><code>--service<\/code> \u2026 \u5bfe\u8c61\u306e\u30b5\u30fc\u30d3\u30b9\u540d\u3002Railway \u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u540d\u524d\u3067\u3059<\/li>\n<\/ul>\n<p>CI \u74b0\u5883\u3067\u306f\u5bfe\u8a71\u7684\u306a\u9078\u629e\u304c\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30fb\u74b0\u5883\u30fb\u30b5\u30fc\u30d3\u30b9\u3092\u5168\u90e8\u660e\u793a\u3057\u3066\u3042\u3052\u308b\u306e\u304c\u30dd\u30a4\u30f3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 ID \u3092\u30bd\u30fc\u30b9\u306b\u76f4\u66f8\u304d\u3057\u305f\u304f\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u3082 Secrets \u306b\u9003\u304c\u3057\u3066 <code>--project ${{ secrets.RAILWAY_PROJECT_ID }}<\/code> \u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u3052\u308b\u3068\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h5>\u30c8\u30fc\u30af\u30f3\u306e\u53d7\u3051\u6e21\u3057<\/h5>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">        env:\n          RAILWAY_API_TOKEN: ${{ secrets.RAILWAY_API_TOKEN }}<\/pre>\n<p>Railway CLI \u306e\u8a8d\u8a3c\u306f\u74b0\u5883\u5909\u6570 <code>RAILWAY_API_TOKEN<\/code> \u7d4c\u7531\u3067\u884c\u3044\u307e\u3059\u3002\u30c8\u30fc\u30af\u30f3\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e Secrets\uff08Settings \u2192 Secrets and variables \u2192 Actions\uff09\u306b <code>RAILWAY_API_TOKEN<\/code> \u3068\u3044\u3046\u540d\u524d\u3067\u767b\u9332\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u9593\u9055\u3063\u3066\u3082\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u76f4\u66f8\u304d\u3057\u306a\u3044\u3088\u3046\u306b\u3002\u3053\u3053\u3060\u3051\u306f\u6c17\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>\u307e\u3068\u3081<\/h4>\n<ul>\n<li>Railway \u306e\u5b9a\u671f\u30ea\u30b9\u30bf\u30fc\u30c8\u306f GitHub Actions \u306e <code>schedule<\/code> \u3067\u7d44\u3081\u308b<\/li>\n<li><code>railway restart<\/code> \u306f\u6210\u529f\u3057\u3066\u3082 CLI \u304c exit \u3057\u306a\u3044\u3053\u3068\u304c\u3042\u308b<\/li>\n<li><code>timeout 60<\/code> \uff0b <code>|| [ $? -eq 124 ]<\/code> \u3067\u300c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306f\u6210\u529f\u6271\u3044\u300d\u306b\u3057\u3066\u56de\u907f<\/li>\n<li>\u30b8\u30e7\u30d6\u306b\u3082\u30b9\u30c6\u30c3\u30d7\u306b\u3082 <code>timeout-minutes<\/code> \u3092\u5165\u308c\u3066\u3001\u30b3\u30b9\u30c8\u66b4\u8d70\u306e\u5b89\u5168\u5f01\u306b\u3057\u3066\u304a\u304f<\/li>\n<\/ul>\n<p>\u300c\u6210\u529f\u3057\u3066\u3044\u308b\u306e\u306b\u30b8\u30e7\u30d6\u304c\u7d42\u308f\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u306e\u306f\u3001\u539f\u56e0\u304c\u5206\u304b\u308b\u307e\u3067\u304c\u4e00\u756a\u30e2\u30e4\u30e2\u30e4\u3059\u308b\u3084\u3064\u3067\u3057\u3066\u3002\u5206\u304b\u3063\u3066\u3057\u307e\u3048\u3070 <code>timeout<\/code> \u4e00\u767a\u3067\u6e08\u3080\u8a71\u306a\u3093\u3067\u3059\u304c\u3001\u3053\u3053\u306b\u8fbf\u308a\u7740\u304f\u307e\u3067\u304c\u9577\u304b\u3063\u305f\u3002\u3002<\/p>\n<p>\u307e\u3041\u4f55\u306b\u305b\u3088\u3001\u3053\u308c\u3067\u6bce\u671d5\u6642\u306b\u52dd\u624b\u306b\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3057\u3066\u304f\u308c\u308b\u74b0\u5883\u304c\u624b\u306b\u5165\u308a\u307e\u3057\u305f\u3002\u4eba\u9593\u3088\u308a\u65e9\u8d77\u304d\u306a\u306e\u304c\u5c11\u3057\u6094\u3057\u3044\u3067\u3059\u304cw<\/p>\n<p>\u3067\u306f\u3067\u306f\u3041\u3002\u307e\u305f\u307e\u305f\u3041\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3082\u3067\u3059\u3002 \u524d\u56de\u300c\u3072\u305f\u3059\u3089\u5b89\u304f\u500b\u4eba\u958b\u767a\u30b5\u30fc\u30d3\u30b9\u3092\u904b\u7528\u3059\u308b\u8a08\u753b\u300d\u3068\u306e\u3053\u3068\u3067\u8a18\u4e8b\u3092\u66f8\u304b\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u304c\u3001\u3057\u3070\u3089\u304f\u52d5\u304b\u3057\u3066\u3044\u308b\u3068\u300c\u305d\u3046\u3044\u3048\u3070\u5b9a\u671f\u7684\u306b\u518d\u8d77\u52d5\u304b\u3051\u3066\u304a\u304d\u305f\u3044\u306a\u3041\u300d\u3068\u3044\u3046\u6c17\u6301\u3061\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u3066\u3002 \u9577\u6642\u9593\u52d5\u304b\u3057\u3063\u3071 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12766,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[383],"tags":[],"class_list":["post-12765","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-383"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/12765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12765"}],"version-history":[{"count":1,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/12765\/revisions"}],"predecessor-version":[{"id":12767,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/12765\/revisions\/12767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/media\/12766"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}