mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-08-19 04:16:26 +00:00
fix: switch Video Hub Builder to PR model and include extraction dependencies
This commit is contained in:
@@ -55,7 +55,7 @@ jobs:
|
||||
- name: Dependency Installation
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pyyaml httpx tenacity pytz python-dotenv
|
||||
pip install pyyaml httpx tenacity pytz python-dotenv yt-dlp youtube-transcript-api
|
||||
|
||||
- name: Execute Video Hub Enrichment
|
||||
env:
|
||||
@@ -70,18 +70,19 @@ jobs:
|
||||
export PYTHONPATH=$PYTHONPATH:.
|
||||
python src/v2_video_portal.py
|
||||
|
||||
- name: Commit and Push Changes
|
||||
run: |
|
||||
git config --global user.name "Nubenetes Bot"
|
||||
git config --global user.email "bot@nubenetes.com"
|
||||
git add v2-docs/videos.md data/inventory.yaml
|
||||
if git diff --staged --quiet; then
|
||||
echo "No changes to commit."
|
||||
else
|
||||
git commit -m "docs: automated V2 video hub update [skip ci]"
|
||||
git pull --rebase origin develop
|
||||
git push origin develop
|
||||
fi
|
||||
- name: Create Pull Request for Video Hub Update
|
||||
uses: peter-evans/create-pull-request@v8
|
||||
with:
|
||||
branch: bot/v2-video-sync
|
||||
base: develop
|
||||
title: "V2 Content: Video Hub Enrichment Sync"
|
||||
commit-message: "docs: update Video Hub with high-fidelity metadata [skip ci]"
|
||||
labels: "v2-content, video-hub"
|
||||
body: |
|
||||
Automated update of the V2 Video Hub.
|
||||
- Robust metadata extraction (yt-dlp + transcripts)
|
||||
- AI-synthesized technical summaries
|
||||
- Format-compliant Markdown rendering
|
||||
|
||||
- name: Persist Incremental Inventory Cache
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user