Gitea actions edit

This commit is contained in:
Eric Meehan 2025-03-28 11:07:51 -04:00
parent f1b7787553
commit eb1cfb79b6

View File

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