Merge pull request #460 from atelierbram/base2tone #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |