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
4 changes: 3 additions & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: generate

on:
schedule:
- cron: "17 19 * * *" # 毎日 04:17 (日本時間)
- cron: "7 8 * * *" # 毎日 17:07 (日本時間)。0 分ちょうどは混みやすいので少しずらす
workflow_dispatch:
inputs:
run_id:
Expand Down Expand Up @@ -44,6 +44,8 @@ jobs:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
VF_INBOX_KEY: ${{ secrets.VF_INBOX_KEY }}
DRY_RUN: ${{ inputs.dry_run }}
VF_FORMATS: ${{ vars.VF_FORMATS }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions docs/design/videoforge.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

| | generate | publish |
| --- | --- | --- |
| 起動 | cron `17 19 * * *` (UTC) = 毎日 04:17 (日本時間)。手動 (`workflow_dispatch`) も可 | cron `47 9 * * *` (UTC) = 毎日 18:47 (日本時間)。cron の遅れを見込み、19:00 ごろに上がるよう少し早める。手動も可 |
| 起動 | cron `7 8 * * *` (UTC) = 毎日 17:07 (日本時間。LLM の混む夜を避ける)。手動 (`workflow_dispatch`) も可 | cron `47 9 * * *` (UTC) = 毎日 18:47 (日本時間)。cron の遅れを見込み、19:00 ごろに上がるよう少し早める。手動も可 |
| 中身 | collect〜render。生成物を artifact `video-<runId>` (保持 3 日) に置く | その日の生成物を取り、横 → Shorts の順に非公開で上げ、履歴を記録 |
| Secrets | `GEMINI_API_KEY`、`ANTHROPIC_API_KEY`、`GROQ_API_KEY` | YouTube の 3 つ (Environment `youtube`) |

Expand Down Expand Up @@ -415,7 +415,7 @@ GitHub の Trending には公式の API がない。HTML のスクレイピン
```yaml
on:
schedule:
- cron: "17 19 * * *" # 毎日 04:17 (日本時間)。毎時 0 分は混むので外す
- cron: "7 8 * * *" # 毎日 17:07 (日本時間)。毎時 0 分は混むので外す
workflow_dispatch:
inputs:
run_id: { required: false }
Expand Down