Skip to content

Commit

Permalink
ci(gendoc): only remove markdown files if there are any to begin with
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Apr 22, 2023
1 parent 79ac64b commit 60ebaf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gendoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:

- name: Run Documentation Generator
run: |
rm wiki/*.md 2> /dev/null
if ls wiki/*.md 1> /dev/null 2>&1; then
rm wiki/*.md
fi
make documentation
- name: Commit Wiki Changes
Expand Down

0 comments on commit 60ebaf9

Please sign in to comment.