Execute application with Gitea Actions #4

Merged
eric merged 6 commits from Broadcast/video-summary-bot#3 into main 2025-03-28 15:15:14 +00:00
Showing only changes of commit eb1cfb79b6 - Show all commits

View File

@ -1,10 +1,12 @@
name: Execute video summary bot
name: execute
on:
workflow_dispatch:
inputs:
video-url:
description: "URL for the video to be analyzed"
required: true
jobs:
Python:
runs-on: ubuntu-latest
@ -13,13 +15,15 @@ jobs:
OPENAI_BASE_URL: "http://192.168.1.168/v1"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- 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