fix: Volubilis画像のファイル名を小文字へ統一してCIビルド失敗を修正 - #5
Merged
Conversation
rocket.astro は volubilis-assemble.jpg / volubilis-launch.jpg を 小文字で import しているが、実ファイル名は先頭大文字だった。 大文字小文字を区別しない Windows では通るが、Linux ランナーでは "Could not resolve" でビルドが落ちるため、同ディレクトリの他ファイルに 合わせて小文字へ統一する。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
mainの CI ビルドが 2026-08-26 のコミット 6c07f4e「Volubilis画像の名前差し替え」以降ずっと失敗していた問題を修正します。原因
src/pages/rocket.astroの import は小文字ですが、リポジトリ上の実ファイル名は先頭が大文字でした。
Windows / macOS のローカル環境はファイル名の大文字小文字を区別しないためビルドが通りますが、GitHub Actions の Linux ランナーでは別ファイル扱いになり
Could not resolveでビルドが落ちます。変更内容
同ディレクトリの他ファイル(
volubilis-1.jpg,bluerose-1.jpgなど)がすべて小文字であることに合わせ、実ファイル名を小文字へ統一しました。Volubilis-assemble.jpg→volubilis-assemble.jpgVolubilis-launch.jpg→volubilis-launch.jpg画像の中身(blob)は変更していない純粋なリネームで、
rocket.astro側は変更不要です。Windows のファイルシステムは大文字小文字を区別しないためgit mv -fを経由してリネームし、git のツリー上で確実に小文字になっていることをgit ls-treeで確認済みです。本番 Deploy ワークフローについて
本番の Deploy ワークフロー(
bun run build:prod)も同じ Linux ランナー上で同じ import を解決するため、同一の原因で失敗する状態です。こちらはworkflow_dispatchと microCMS のrepository_dispatchでのみ起動するので現時点で赤くはなっていませんが、次回実行時に失敗します。本 PR のマージで併せて解消されます。確認
🤖 Generated with Claude Code