We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26dc450 commit 8f88d56Copy full SHA for 8f88d56
.github/workflows/docspublish.yml
@@ -30,8 +30,13 @@ jobs:
30
git config --global user.name "github-actions[bot]"
31
git config --global user.email "github-actions[bot]@users.noreply.github.com"
32
git add docs/images/cli_help
33
- git commit -m "docs(cli/screenshots): update CLI screenshots" -m "[skip ci]"
34
- git push
+
+ if [[ -n "$(git status --porcelain)" ]]; then
35
+ git commit -m "docs(cli/screenshots): update CLI screenshots" -m "[skip ci]"
36
+ git push
37
+ else
38
+ echo "No changes to commit. Skipping."
39
+ fi
40
41
publish-documentation:
42
runs-on: ubuntu-latest
0 commit comments