|
|
|
|
@ -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')) |
|
|
|
|
|