Typo Update about.md #240
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: static-content-rendered | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
mdbook: | |
name: mdbook | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: '0.4.36' | |
- run: mdbook build ./docs -d ${GITHUB_WORKSPACE}/public/docs | |
- name: Check if rebuilding the book creates a diff | |
run: | | |
if test $(git diff --name-only | wc -l) != 0 | |
then | |
echo "Files changed... $(git diff --name-only)" | |
exit 1 | |
fi | |
if test $(git ls-files --others --exclude-standard | wc -l) != 0 | |
then | |
echo "Untracked files created... $(git ls-files --others --exclude-standard)" | |
exit 1 | |
fi |