Update .forgejo/workflows/generate-m3u.yml
This commit is contained in:
parent
0c04d25e8d
commit
43a7650144
1 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: 📺 Generate M3U Playlist
|
name: Generate M3U Playlist
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -10,22 +10,22 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: 📥 Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: 🐍 Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: ⚙️ Configure Git
|
- name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "actions@forgejo.plainrock127.xyz"
|
git config --local user.email "actions@forgejo.plainrock127.xyz"
|
||||||
git config --local user.name "IPTV Playlist Bot"
|
git config --local user.name "IPTV Playlist Bot"
|
||||||
|
|
||||||
- name: 🔍 Check files before processing
|
- name: Check files before processing
|
||||||
run: |
|
run: |
|
||||||
echo "=== Repository Status ==="
|
echo "=== Repository Status ==="
|
||||||
ls -la
|
ls -la
|
||||||
|
@ -63,7 +63,7 @@ jobs:
|
||||||
echo "ℹ️ bulk_import.m3u not found (normal if no import)"
|
echo "ℹ️ bulk_import.m3u not found (normal if no import)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: 🔧 Setup Python package structure
|
- name: Setup Python package structure
|
||||||
run: |
|
run: |
|
||||||
echo "=== Setting up Python package structure ==="
|
echo "=== Setting up Python package structure ==="
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ EOF
|
||||||
|
|
||||||
echo "✅ Package structure ready"
|
echo "✅ Package structure ready"
|
||||||
|
|
||||||
- name: 🚀 Generate M3U Playlist
|
- name: Generate M3U Playlist
|
||||||
run: |
|
run: |
|
||||||
echo "=== Running playlist generation ==="
|
echo "=== Running playlist generation ==="
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ EOF
|
||||||
# Go back to root
|
# Go back to root
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: 📊 Check results
|
- name: Check results
|
||||||
run: |
|
run: |
|
||||||
echo "=== Results ==="
|
echo "=== Results ==="
|
||||||
ls -la
|
ls -la
|
||||||
|
@ -141,7 +141,7 @@ EOF
|
||||||
ls -la config/
|
ls -la config/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: 💾 Commit and push changes
|
- name: Commit and push changes
|
||||||
run: |
|
run: |
|
||||||
echo "=== Preparing to commit ==="
|
echo "=== Preparing to commit ==="
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue