mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
19 lines
721 B
YAML
19 lines
721 B
YAML
parameters:
|
|
python_version : []
|
|
|
|
steps:
|
|
- ${{ each py_version in parameters.py_versions }}:
|
|
- task: CopyFilesOverSSH@0
|
|
displayName: 'Upload to repo server'
|
|
inputs:
|
|
sshEndpoint: repository
|
|
sourceFolder: '$(Build.ArtifactStagingDirectory)'
|
|
contents: 'plugin.video.jellyfin-${{ py_version }}.zip'
|
|
targetFolder: '/srv/repository/incoming/kodi'
|
|
|
|
- task: SSH@0
|
|
displayName: 'Add to Kodi repo'
|
|
inputs:
|
|
sshEndpoint: repository
|
|
runOptions: 'commands'
|
|
commands: 'python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }}.zip --datadir /srv/repository/releases/client/kodi/${{ py_version }}'
|