Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ <h1>All Apps</h1>
<p id="finder-count" class="finder-meta" role="status" aria-live="polite">Showing all apps</p>
<nav class="finder-guides" aria-label="Guides to choosing an app">
<a href="/guides/quick-games/">Find a quick game</a>
<a href="/guides/quick-games/ja/" lang="ja" hreflang="ja">日本語でゲームを探す</a>
<a href="/guides/daily-habits/">Build a daily habit</a>
<a href="/guides/decision-helpers/">Decide what to do</a>
<a href="/guides/ai-tools/">Explore AI apps</a>
Expand Down
21 changes: 21 additions & 0 deletions docs/DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,24 @@ main へのマージでは本番に反映されない。次のどちらかで反
main の HEAD だけが対象。`--delete` はしない。apply 後に本番検証まで走る。

禁止: 許可なしの `mode=apply`、App Store(apps.apple.com)リンクの追加(iOS は 404・ADP 終了)。


## 日本語ゲーム集客ページの公開確認(2026-11-11)

GitHub の `main` 反映だけでは VPS の `https://appdevelopsk.com/guides/quick-games/ja/` に自動反映されない。macOS の **実際のサイト配信設定がある環境**で以下を順番に実行する。

```bash
git switch main && git pull --ff-only
node --test tests/japanese-quick-games-discovery.test.mjs
python3 scripts/build_catalog.py --check
bash scripts/publish_app_discovery.sh --dry-run
# 差分を確認し、VPSの対象と接続先が正しいことを確認した後に:
bash scripts/publish_app_discovery.sh --apply
bash scripts/check_app_discovery_live.sh
```

`--apply` は明示操作。通常の同期は非破壊 rsync であり、意図しないファイル削除を行わない。検査では日本語ページのHTTP 200、canonical、サイトマップ、英語ページの hreflang、Playリンク計測に加え、ホームページとアプリ一覧からの日本語ガイドへのリンクを確認する。

公開後に `guide_store_click` / `download_click`、広告や動画の流入元、Google Play の実取得数、実際の最初のゲーム操作と成熟したD7を別々に記録する。サイト側のイベントクリックやマージ履歴だけでインストール数やアクティブユーザー増を主張しない。

このチャット実行環境ではVPSへのSSH接続・実サイトHTTP到達ができず、GitHub Actionsも使用していないため、**現時点で本番公開は未確認**。
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ <h2 data-i18n="featured_title">Featured Apps</h2>
<nav class="discovery-links" aria-label="Discover SK Apps by purpose">
<a class="discovery-link" data-guide="catalog" href="/apps">🔎 Find an app</a>
<a class="discovery-link" data-guide="quick-games" href="/guides/quick-games/">🎮 Quick games</a>
<a class="discovery-link" data-guide="quick-games-ja" href="/guides/quick-games/ja/" lang="ja" hreflang="ja">🇯🇵 日本語ゲームガイド</a>
<a class="discovery-link" data-guide="daily-habits" href="/guides/daily-habits/">📅 Daily habits</a>
<a class="discovery-link" data-guide="decision-helpers" href="/guides/decision-helpers/">🎲 Decision helpers</a>
<a class="discovery-link" data-guide="ai-tools" href="/guides/ai-tools/">✨ AI tools</a>
Expand Down
2 changes: 2 additions & 0 deletions scripts/check_app_discovery_live.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ fetch() {
fetch '/' 'index.html'
grep -Fq 'class="discovery-links"' "$tmp/index.html" || { echo 'FAIL homepage discovery links are stale' >&2; exit 1; }
grep -Fq 'discovery_nav_click' "$tmp/index.html" || { echo 'FAIL homepage discovery tracking is stale' >&2; exit 1; }
grep -Fq 'data-guide="quick-games-ja"' "$tmp/index.html" || { echo 'FAIL Japanese guide missing from live homepage navigation' >&2; exit 1; }
# The homepage should lead to currently published Android applications.
grep -Fq 'href="support/twotaku/"' "$tmp/index.html" || { echo 'FAIL homepage missing published Dotchi feature' >&2; exit 1; }
grep -Fq 'data-app-desc="twotaku"' "$tmp/index.html" || { echo 'FAIL homepage Dotchi localized caption missing' >&2; exit 1; }
Expand All @@ -25,6 +26,7 @@ fi
fetch '/apps' 'apps.html'
grep -Fq 'id="find-app"' "$tmp/apps.html" || { echo 'FAIL catalog search is stale' >&2; exit 1; }
grep -Fq 'catalog_store_click' "$tmp/apps.html" || { echo 'FAIL store-click attribution is stale' >&2; exit 1; }
grep -Fq '日本語でゲームを探す' "$tmp/apps.html" || { echo 'FAIL Japanese guide missing from live app catalog' >&2; exit 1; }
grep -Fq 'Dotchi: This or That Polls' "$tmp/apps.html" || { echo 'FAIL Dotchi catalog still presents an anime-only app' >&2; exit 1; }
# Source metadata is not proof that the public catalog was updated.
# Check the actual live HTML for each corrected high-priority app description.
Expand Down
11 changes: 11 additions & 0 deletions tests/japanese-quick-games-discovery.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,14 @@ test('non-destructive deployment includes the new guide and smoke checks actual
assert.match(live,/FAIL Japanese guide omitted from live sitemap/);
assert.match(live,/FAIL Japanese store attribution missing/);
});

test('Japanese guide is discoverable from both homepage and the catalog',()=>{
const homepage=read('index.html'),catalog=read('apps.html');
assert.match(homepage,/<a class="discovery-link" data-guide="quick-games-ja" href="\/guides\/quick-games\/ja\/" lang="ja" hreflang="ja">/);
assert.match(catalog,/<a href="\/guides\/quick-games\/ja\/" lang="ja" hreflang="ja">/);
assert.equal((homepage.match(/data-guide="quick-games-ja"/g)||[]).length,1);
assert.equal((catalog.match(/href="\/guides\/quick-games\/ja\/"/g)||[]).length,1);
const smoke=read('scripts/check_app_discovery_live.sh');
assert.ok(smoke.includes('data-guide="quick-games-ja"'));
assert.ok(smoke.includes('日本語でゲームを探す'));
});
Loading