commit dd00201979dc205e7058adb7f39adb30ab148ffb
parent 174a5aed0d1a29e8588ae2c98961277bba565683
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Wed, 9 Sep 2026 04:25:53 +0900
ci(workflow): update gh-pages action version and clean up comments
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/.github/workflows/stagit-build.yml b/.github/workflows/stagit-build.yml
@@ -44,25 +44,21 @@ jobs:
mkdir -p html
ROOT_DIR="$(pwd)"
- # 各 bare リポジトリの HTML ページを生成
for repo_dir in "${ROOT_DIR}/repositories"/*.git; do
[ -d "$repo_dir" ] || continue
repo_name=$(basename "$repo_dir" .git)
site_dir="${ROOT_DIR}/html/${repo_name}"
- # 1. 出力先ディレクトリを作成して cd
mkdir -p "$site_dir"
- # 2. htmldir 内で stagit <path-to-repo> を実行
(cd "$site_dir" && stagit "$repo_dir")
done
- # 3. ルート目録(index.html)の生成
(cd "${ROOT_DIR}/repositories" && stagit-index *.git > "${ROOT_DIR}/html/index.html")
- name: Deploy to GitHub Pages
- uses: peaceiris/actions-gh-pages@v3
+ uses: peaceiris/actions-gh-pages@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./html