Skip to content

Commit

Permalink
chore: add tidy workflow (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Jul 15, 2021
1 parent 279bd52 commit 2bf9b97
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Tidy document
on:
workflow_dispatch: {}
push:
branches:
- gh-pages

jobs:
tidy:
name: Tidy up
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: brew install tidy-html5
- run: tidy -config tidyconfig.txt -o index.html index.html
- uses: peter-evans/create-pull-request@v3
with:
title: "Tidied up document using tidy-html5"
commit-message: "chore: tidy up index.html"
branch: html-tidy

0 comments on commit 2bf9b97

Please sign in to comment.