Skip to content
name: Ensure Docs are Compiled
on:
push:
jobs:
ensure-docs-compiled:
runs-on: ubuntu-latest
steps:
- name: Checkout 馃泿
uses: actions/checkout@v2
- uses: actions/setup-go@v4
- shell: bash
run: make generate-docs
- shell: bash
run: |
if [[ -z "$(git status -s)" ]]; then
echo "OK"
else
echo "Docs have been updated, but the compiled docs have not been committed."
echo "Run 'make generate-docs', and commit the result to resolve this error."
exit 1
fi