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

View file

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