mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add token support
This commit is contained in:
parent
c6d839f8ae
commit
df9703d814
@ -68,11 +68,11 @@ stages:
|
|||||||
- script: python setup.py sdist bdist_wheel
|
- script: python setup.py sdist bdist_wheel
|
||||||
displayName: 'Build package'
|
displayName: 'Build package'
|
||||||
- script: |
|
- script: |
|
||||||
export TWINE_USERNAME="$(twineUser)"
|
|
||||||
export TWINE_PASSWORD="$(twinePassword)"
|
|
||||||
|
|
||||||
twine upload dist/* --skip-existing
|
twine upload dist/* --skip-existing
|
||||||
displayName: 'Upload pypi'
|
displayName: 'Upload pypi'
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: '$(twineUser)'
|
||||||
|
TWINE_PASSWORD: '$(twinePassword)'
|
||||||
- job: 'ReleaseDocker'
|
- job: 'ReleaseDocker'
|
||||||
timeoutInMinutes: 240
|
timeoutInMinutes: 240
|
||||||
pool:
|
pool:
|
||||||
|
27
azure-pipelines-translation.yml
Normal file
27
azure-pipelines-translation.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# 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: |
|
||||||
|
./script/translations_upload
|
||||||
|
displayName: 'Upload Translation'
|
||||||
|
env:
|
||||||
|
LOKALISE_TOKEN: $(lokaliseToken)
|
Loading…
x
Reference in New Issue
Block a user