2019-09-03 07:35:03 +00:00
|
|
|
# https://dev.azure.com/home-assistant
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
batch: true
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- dev
|
|
|
|
pr: none
|
|
|
|
variables:
|
|
|
|
- group: translation
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
- job: 'Upload'
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
steps:
|
|
|
|
- task: UsePythonVersion@0
|
|
|
|
displayName: 'Use Python 3.7'
|
|
|
|
inputs:
|
|
|
|
versionSpec: '3.7'
|
|
|
|
- script: |
|
2019-09-03 16:05:59 +00:00
|
|
|
export LOKALISE_TOKEN="$(lokaliseToken)"
|
2019-09-03 16:09:08 +00:00
|
|
|
export AZURE_BRANCH="$(Build.SourceBranchName)"
|
2019-09-03 16:05:59 +00:00
|
|
|
|
2019-09-03 07:35:03 +00:00
|
|
|
./script/translations_upload
|
|
|
|
displayName: 'Upload Translation'
|