Skip to content

Fix HTML

Fix HTML #1

Workflow file for this run

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