We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a27e9d commit 33269daCopy full SHA for 33269da
.github/workflows/translate.yml
@@ -4,8 +4,6 @@ on:
4
push:
5
branches:
6
- main
7
- paths:
8
- - "docs/en/**/*.md"
9
workflow_dispatch: # Allow manual triggering
10
11
jobs:
@@ -38,6 +36,7 @@ jobs:
38
36
run: |
39
37
# Get list of added or modified Markdown files in docs/en/
40
# Using --diff-filter=AM to include both Added and Modified files
+ # Only check for changed files if docs were actually modified
41
CHANGED_FILES=$(git diff --name-only --diff-filter=AM HEAD~1 HEAD | grep '^docs/en/.*\.md$' || true)
42
43
if [ -z "$CHANGED_FILES" ]; then
@@ -130,6 +129,7 @@ jobs:
130
129
fi
131
132
- name: Deploy docs
+ if: always() && !failure() && !cancelled()
133
uses: mhausenblas/mkdocs-deploy-gh-pages@master
134
env:
135
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments