Skip to content

------- Generate Themes ------- #100

------- Generate Themes -------

------- Generate Themes ------- #100

Workflow file for this run

name: Execute Python Scripts on New Theme-YML Files
on:
workflow_dispatch:
push:
paths:
- 'themes/*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run python scripts
run: |
echo 🏅 - requirements.txt
pip3 install -r requirements.txt
echo 🏅 - Generate json
python3 tools/generatJson.py
echo 🏅 - Generate json files
python3 tools/generateJsonFiles.py
echo 🏅 - Generate Installers
python3 tools/generateShFiles.py
echo 🏅 - update themes in gogh file
python3 tools/updateThemes.py
- name: Git commit
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@github.com
git add .
git commit -m "------- Generate Themes -------"
git push