Execute application with Gitea Actions (#4)

Closes Broadcast/video-summary-bot#1
Closes Broadcast/video-summary-bot#3

Reviewed-on: Broadcast/video-summary-bot#4
This commit is contained in:
2025-03-28 15:15:14 +00:00
parent d55b346b81
commit 46cb748bc6
6 changed files with 117 additions and 32 deletions

View File

@@ -0,0 +1,29 @@
name: execute
on:
workflow_dispatch:
inputs:
video-url:
description: "URL for the video to be analyzed"
required: true
jobs:
Python:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: "nokey"
OPENAI_BASE_URL: "http://192.168.1.168/v1"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run applicaiton
run: python app.py