-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 1.09 KB
/
fix-html.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
name: Fix HTML
run-name: Fix HTML
on:
push:
paths:
- converter/**
jobs:
Fix-Html:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup
run: |
cd ${{ github.workspace }}
python -m pip install -U pip
python -m pip install -r ./requirements.txt
- name: Fix Mindmap
run: |
python ./mindmaps/electricity/convert-html.py
- name: Git Fix
run: |
git rm --cached ./mindmaps/electricity/index.html
git reset ./mindmaps/electricity/index.html
- name: Git Setup
run: |
git config user.name "GitHub Actions Bot"
git config user.email "[email protected]"
- name: Git
run: |
git add ./mindmaps/electricity/index.html
git commit -m "(action) Upgraded index.html"
git push