Skip to content

Commit

Permalink
github workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gni committed Oct 29, 2024
1 parent c4a32ef commit 43b5a69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
# Step 4: Run Docsible to generate documentation
- name: Generate documentation for ThermoCore role
run: |
docsible -c ./ -g -o README.md -a -com # Adjust path or flags as needed
docsible -r ./ -g -o README.md -a -com
# Step 5: Check for changes
- name: Check for documentation changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
if git diff-index --cached --quiet HEAD --; then
echo "No changes to commit."
exit 0
if git diff --exit-code; then
echo "No changes to commit";
exit 0;
fi
# Step 6: Commit and push changes
Expand Down

0 comments on commit 43b5a69

Please sign in to comment.