-
Notifications
You must be signed in to change notification settings - Fork 606
59 lines (46 loc) · 1.4 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
name: Run Generators
on:
workflow_dispatch:
push:
paths:
- 'themes/*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: 🏅 Install Python dependencies
run: pip install -r requirements.txt
- name: 🏅 Run Python scripts
run: python tools/pipe-generateJson.py
- name: 🏅 Generate JSON files
run: python tools/pipe-generateJsonFiles.py
- name: 🏅 Generate CSV
run: python tools/pipe-generateCsv.py
- name: 🏅 Generate Installers
run: python tools/pipe-generateShFiles.py
- name: 🏅 Update themes in Gogh file
run: python tools/pipe-updateThemes.py
- name: 🏅 Pipeline run date
run: python tools/pipe.py
- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: 🏅 Run WCAG generator script with Deno
run: deno run --allow-all tools/pipe-generateWcag.js
- name: Commit and push changes
env:
GIT_AUTHOR_NAME: github-actions[bot]
GIT_AUTHOR_EMAIL: github-actions[bot]@github.com
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@github.com
git add .
git commit -m "Gogh 🤖"
git push