本番のトレンド版を main に統合し、Cloudflare への自動デプロイを追加 - #4
Merged
Merged
Conversation
- 各国のXトレンドを treg で取得し、Jev で同一話題の統合と感情分析をして地球の波に表示 - トレンドをクリックすると関連投稿からの概要と5感情を表示するパネル(TrendModal) - 投稿画面を「いま、どんな気持ち?」に刷新し、入力中の言葉を Jev でリアルタイム解析して波形に表示 - 波は現在地(ブラウザの位置情報)から発生 - Next.js 12 の静的出力を Workers の静的アセットで配信し、API は cloudflare/worker.ts で Pages API を変換 - 2026-09-25 に meta-earth-wave.com へ手動デプロイした版(ビルドID 2iEOs5uAjIfY6emHpZ1s8) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- PR: テスト・型チェック・Workers 向けビルド・wrangler の dry run - main への push / 手動実行: 上記に加えて wrangler deploy と本番の疎通確認(ビルドID と /api/themes) - 必要な設定: Secret CLOUDFLARE_API_TOKEN、Variable CLOUDFLARE_ACCOUNT_ID(CLOUDFLARE.md に記載) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for meta-earth-wave ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch was successfully deployed
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.
概要
meta-earth-wave.com で動いているトレンド版(Codex で作成し、9/25 に手元から手動デプロイしていたもの)は GitHub に入っていませんでした。これを main に取り込み、#2・#3 の文字演出と合わせたうえで、main への push で Cloudflare Workers に自動デプロイする GitHub Actions を追加します。
変更点
cloudflare/worker.ts、wrangler.jsonc、yarn build:cloudflare)addLocalTweetから発火することを確認.github/workflows/deploy.ymlwrangler deploy --dry-runwrangler deploy+ 本番のビルドID と/api/themesの疎通確認CLOUDFLARE_API_TOKEN(登録済み)、VariableCLOUDFLARE_ACCOUNT_ID(登録済み)確認
node --test tests/*.cjs(32 件 pass)、tsc --noEmit、yarn build:cloudflare、wrangler deploy --dry-runwrangler versions uploadでプレビューURLに上げ、トレンド→詳細→入力中の波形→送信→文字演出を自動操作で確認してから本番へ切り替え済み(version ee122228)/api/themesが応答することを確認Worker のシークレット(TREG_TOKEN / TREG_ORG / TYPESAFE_API_KEY / NEXTAUTH_SECRET)は Cloudflare 側にあり、リポジトリにも CI にも含みません。
🤖 Generated with Claude Code