Skip to content

Commit 88c6d67

Browse files
committed
chore: add automatic tidy action
1 parent 2315950 commit 88c6d67

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎.github/workflows/tidy.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Tidy document
2+
on:
3+
workflow_dispatch: {}
4+
push:
5+
branches:
6+
- gh-pages
7+
8+
jobs:
9+
tidy:
10+
name: Tidy up
11+
runs-on: macos-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- run: brew install tidy-html5
15+
- run: tidy -config tidyconfig.txt -o index.html index.html
16+
- uses: peter-evans/create-pull-request@v3
17+
with:
18+
title: "Tidied up document using tidy-html5"
19+
commit-message: "chore: tidy up index.html"
20+
branch: html-tidy

0 commit comments

Comments
 (0)