<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Git on keee.blog</title><link>https://keee.blog/tags/git/</link><description>Recent content in Git on keee.blog</description><generator>Hugo -- gohugo.io</generator><language>ja</language><copyright>©2025, All Rights Reserved</copyright><lastBuildDate>Sun, 08 Jan 2023 13:50:47 +0900</lastBuildDate><atom:link href="https://keee.blog/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>[Hugo] 自動投稿したい3（Github Actionsで記事ファイルを更新する）</title><link>https://keee.blog/posts/344ec63df460236c75c8a20be8736605/</link><pubDate>Sun, 08 Jan 2023 13:50:47 +0900</pubDate><atom:modified>Sun, 08 Jan 2023 13:50:47 +0900</atom:modified><guid>https://keee.blog/posts/344ec63df460236c75c8a20be8736605/</guid><description>&lt;h2 id="今回やること">今回やること&lt;/h2>
&lt;p>以下を定期的に行う設定を作成する。&lt;/p>
&lt;ul>
&lt;li>公開可能な記事データを抽出&lt;/li>
&lt;li>更新日が最も古いものの&lt;code>date&lt;/code>を更新&lt;/li>
&lt;/ul>
&lt;p>コミット部分は別で対応。&lt;/p>
&lt;h2 id="前提">前提&lt;/h2>
&lt;ul>
&lt;li>hugo v0.96.0+extended&lt;/li>
&lt;li>記事抽出・更新のコマンドを作成 &lt;a href="https://keee.blog/posts/6cb4b610422bcc36b4def9a637ffd54e/">検討時の詳細はこちら&lt;/a>&lt;/li>
&lt;li>act version 0.2.34 &lt;a href="https://keee.blog/posts/768c00018878e246f3410a7dd991c1f4/">インストールのことはこちら&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="yamlファイルに設定を書く">yamlファイルに設定を書く&lt;/h2>
&lt;p>プロジェクトのルートディレクトリに&lt;code>.github/workflows/&lt;/code>ディレクトリを作成。&lt;br />
この中の&lt;code>.yaml&lt;/code>ファイルに記載した内容が実行される。&lt;/p></description><dc:creator>keee</dc:creator><category>Hugo</category><category>GithubActions</category><category>Git</category></item></channel></rss>