test: user, group, cfg, token commands #491
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: Docs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
check_diff: | |
name: Check Generated Docs Diff | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Run make docs | |
env: | |
IONOS_USERNAME: ${{ secrets.IONOS_USERNAME }} | |
IONOS_PASSWORD: ${{ secrets.IONOS_PASSWORD }} | |
run: make docs | |
- name: Check for differences | |
run: | | |
if ! git diff --quiet; then | |
echo "There are differences in the generated documentation. Run 'make docs' to fix." | |
git diff | |
exit 1 | |
fi |