Skip to content

Commit

Permalink
#42 - refactoring GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
apanasiuk-el committed Sep 3, 2024
1 parent 3598e56 commit 03f8918
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docs-commands-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
docs-commands-generate:
if: "!contains(github.event.head_commit.message, '[skip ci docs commands generate]')"
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand Down Expand Up @@ -37,7 +38,7 @@ jobs:
echo "Generate new commands documentation."
./dist/rmk_linux_amd64_v1/rmk doc generate > ./docs/commands.md
if (git commit --all --message="[skip ci] Update commands documentation"); then
if (git commit --all --message="[skip ci docs commands generate] Update commands documentation"); then
git push
echo "The new commands documentation has been committed."
fi

0 comments on commit 03f8918

Please sign in to comment.