Use command instead of inline for repo command

This commit is contained in:
Matt 2020-08-07 11:26:51 -04:00
parent 1f5901d2ba
commit d839b3a60a
1 changed files with 2 additions and 2 deletions

View File

@ -38,6 +38,6 @@ steps:
displayName: 'Add to Kodi repo'
inputs:
sshEndpoint: repository
runOptions: 'inline'
inline: 'python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }} --datadir /srv/repository/releases/client/kodi/${{ py_version }}'
runOptions: 'commands'
commands: 'sudo -n python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }} --datadir /srv/repository/releases/client/kodi/${{ py_version }}'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')