-
Notifications
You must be signed in to change notification settings - Fork 606
68 lines (55 loc) · 1.34 KB
/
actions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Execute Python Scripts on New Theme-YML Files
on:
workflow_dispatch:
push:
paths:
- 'themes/*'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update ubuntu
run: |
sudo apt-get update
echo 🏅
- name: Install git
run: |
sudo apt-get install git -y
echo 🏅
- name: Install python3
run: |
sudo apt-get install python3 -y
echo 🏅
- name: Install pip3
run: |
sudo apt-get install -y python3-pip
echo 🏅
- name: Python3 requirements.txt
run: |
pip3 install -r requirements.txt
echo 🏅
- name: Generate json
run: |
python3 tools/generatJson.py
echo 🏅
- name: Generate json files
run: |
python3 tools/generateJsonFiles.py
echo 🏅
- name: Generate Installers
run: |
python3 tools/generateShFiles.py
echo 🏅
- name: update themes in gogh file
run: |
python3 tools/updateThemes.py
echo 🏅
- 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