[skip ci] Fix translation template CI runner not skipping CI

presentation
Bryan Tan 6 years ago committed by GitHub
parent 4d2e2fb475
commit a35d7edb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      azure-pipelines/translation.yml

@ -34,7 +34,7 @@ stages:
displayName: 'Get the deploy key'
- bash: |
if [[ $(git diff --word-diff=porcelain --no-color -U0 | wc -l) -gt 9 ]]; then
git commit -am "Update translation template [skip ci]"
git commit -am "[skip ci] Update translation template"
mkdir ~/.ssh && mv $DOWNLOADSECUREFILE_SECUREFILEPATH ~/.ssh/id_rsa
chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa
@ -49,4 +49,4 @@ stages:
workingDirectory: ./build
displayName: 'Push new translation template'
condition: |
and(not(eq(variables['Build.Reason'], 'PullRequest')), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
and(not(eq(variables['Build.Reason'], 'PullRequest')), eq(variables['Build.SourceBranch'], 'refs/heads/master'))

Loading…
Cancel
Save