<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Github-Actions on OTTAN.JP</title>
    <link>https://ottan.jp/tags/github-actions/</link>
    <description>Recent content in Github-Actions on OTTAN.JP</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Thu, 23 Apr 2026 00:00:00 +0900</lastBuildDate>
    <atom:link href="https://ottan.jp/tags/github-actions/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>【2026年版】Decap CMS（旧Netlify CMS）&#43; Hugo のテーマをGitで管理してデプロイする</title>
      <link>https://ottan.jp/posts/2018/10/netlify-cms-hugo-deploy-github-slack/</link>
      <pubDate>Thu, 25 Oct 2018 00:00:00 +0000</pubDate>
      <guid>https://ottan.jp/posts/2018/10/netlify-cms-hugo-deploy-github-slack/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;🔁 2026年リライト版&lt;/strong&gt;&#xA;この記事は2018年10月に公開した「Netlify CMS（Hugo）のテーマをGitの使い方を覚えながらカスタマイズしてデプロイしてみよう」を、&lt;strong&gt;Decap CMS&lt;/strong&gt;（2023年にNetlify CMSがフォーク・改名）+ Git 2.40+ + GitHub Actions / Netlify Build 前提で全面書き換えしたものです。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;2018年からの主な変化点&#34;&gt;2018年からの主な変化点&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Netlify CMS → Decap CMS&lt;/strong&gt;（2023年2月、Netlifyの開発撤退に伴いコミュニティフォーク）&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;GitHub デフォルトブランチ&lt;/strong&gt;: &lt;code&gt;master&lt;/code&gt; → &lt;code&gt;main&lt;/code&gt;（2020年10月以降の新規リポジトリは &lt;code&gt;main&lt;/code&gt;）&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Git認証&lt;/strong&gt;: パスワード認証廃止 → &lt;strong&gt;Personal Access Token / SSH / GitHub CLI (gh)&lt;/strong&gt; が必須&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Slack通知&lt;/strong&gt;: Netlify 標準のSlack連携が簡略化、または GitHub Actions から直接送信する構成が一般的&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;デプロイ選択肢&lt;/strong&gt;: Netlify のほか Vercel / Cloudflare Pages、あるいは GitHub Actions → 任意のCDN の構成も普及&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;ゴール&#34;&gt;ゴール&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Hugo サイトのテーマを Git で管理する&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;main&lt;/code&gt; ブランチに push すると自動ビルド・デプロイ&lt;/li&gt;&#xA;&lt;li&gt;デプロイの成功／失敗を Slack に通知する&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;git-の準備2026年版&#34;&gt;Git の準備（2026年版）&lt;/h2&gt;&#xA;&lt;h3 id=&#34;git-クライアントのインストール&#34;&gt;Git クライアントのインストール&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯ brew install git gh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯ git --version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git version 2.44+&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯ gh --version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;github-認証&#34;&gt;GitHub 認証&lt;/h3&gt;&#xA;&lt;p&gt;2021年以降、HTTPS パスワード認証は使えません。GitHub CLI が最も楽です。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
